commit | 44d7b6ad60c151d2a265c326c1f7cf26d3c9dc18 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Sep 09 03:53:22 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Sep 09 03:53:22 2010 +0000 |
tree | d294781112900852e67666d7965abb1f6bc97c5f | |
parent | bd889e8c40da62b4a2aaa99d2b1ef50291b49342 [diff] [blame] |
Add docstring to cmd.Cmd.do_help()
diff --git a/Lib/cmd.py b/Lib/cmd.py index 85282f8..8fa7d01 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py
@@ -288,6 +288,7 @@ 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: