Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
verktoy
PyMetric
Commits
0574e6cb
Commit
0574e6cb
authored
Feb 14, 2019
by
Runar Borge
Browse files
Added exit command
for now only `quit` and `ctrl+d` is supported. added support for `exit`
parent
b32bdde8
Changes
1
Hide whitespace changes
Inline
Side-by-side
command.py
View file @
0574e6cb
...
...
@@ -1445,6 +1445,13 @@ Available commands:
End program.
"""
def
help_exit
(
self
):
print
"""
Usage: exit
End program.
"""
def
help_areaplot
(
self
):
print
"""
Usage: areaplot
...
...
@@ -1672,6 +1679,8 @@ Available commands:
pass
sys
.
exit
(
0
)
def
do_exit
(
self
,
arg
):
self
.
do_quit
(
arg
)
# Private methods
def
_colormode
(
self
,
on
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment