diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-01-29 19:24:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 19:24:50 -0500 |
commit | 6296d413ac1cee3577c19ba2bbf9da56202dc26d (patch) | |
tree | 8cacaa6175acde73a861de5cba3919f3963073e2 /cmd2/cmd2.py | |
parent | e87cadfbaeda0bb0197ce959107bda0db89514ea (diff) | |
parent | 0196641173d3b4a69876fb4349d6f5caa5603858 (diff) | |
download | cmd2-git-6296d413ac1cee3577c19ba2bbf9da56202dc26d.tar.gz |
Merge pull request #867 from python-cmd2/discoverable_verbose_help
Make verbose help more discoverable
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index f3b7c4a4..34435ed0 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -279,6 +279,9 @@ class Cmd(cmd.Cmd): # The multiline command currently being typed which is used to tab complete multiline commands. self._multiline_in_progress = '' + # Set the header used for the help function's listing of documented functions + self.doc_header = "Documented commands (use 'help -v' for verbose/'help <topic>' for details):" + # The error that prints when no help information can be found self.help_error = "No help on {}" |