Merge "Alias exit to cmd2's quit command to exit interactive shell"
This commit is contained in:
commit
e1c0659a02
|
@ -118,6 +118,9 @@ class InteractiveApp(cmd2.Cmd):
|
|||
self.print_topics(self.app_cmd_header, cmd_names, 15, 80)
|
||||
return
|
||||
|
||||
# Create exit alias to quit the interactive shell.
|
||||
do_exit = cmd2.Cmd.do_quit
|
||||
|
||||
def get_names(self):
|
||||
# Override the base class version to filter out
|
||||
# things that look like they should be hidden
|
||||
|
|
Loading…
Reference in New Issue