Commit 0574e6cb authored by Runar Borge's avatar Runar Borge
Browse files

Added exit command

for now only `quit` and `ctrl+d` is supported. added support for `exit`
parent b32bdde8
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment