Added exit as a cloudmonkey command, in addition to the existing quit command.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
This commit is contained in:
Chip Childers 2012-11-19 14:39:58 -05:00
parent 311ef69a77
commit f7d2041056

View File

@ -449,6 +449,12 @@ class CloudStackShell(cmd.Cmd):
text = subfields[2] text = subfields[2]
return self.completedefault(text, line, begidx, endidx) return self.completedefault(text, line, begidx, endidx)
def do_exit(self, args):
"""
Quit Apache CloudStack CLI
"""
return self.do_quit(args)
def do_quit(self, args): def do_quit(self, args):
""" """
Quit Apache CloudStack CLI Quit Apache CloudStack CLI