Properly set the auto_help flag to False on Exit commands, so they don't show up in the help listings.

This commit is contained in:
Griatch 2012-10-14 16:37:36 +02:00
parent b5dd21864d
commit 446dfe9509

View file

@ -863,6 +863,7 @@ class Exit(Object):
cmd.aliases = exidbobj.aliases
cmd.locks = str(exidbobj.locks)
cmd.destination = exidbobj.db_destination
cmd.auto_help = False
# create a cmdset
exit_cmdset = cmdset.CmdSet(None)
exit_cmdset.key = '_exitset'