Add docstring to cmd.Cmd.do_help()

This commit is contained in:
Raymond Hettinger 2010-09-09 03:53:22 +00:00
parent bd889e8c40
commit 44d7b6ad60
3 changed files with 5 additions and 8 deletions

View file

@ -288,6 +288,7 @@ class Cmd:
return list(commands | topics)
def do_help(self, arg):
'List available commands with "help" or detailed help with "help cmd".'
if arg:
# XXX check arg syntax
try: