diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-17 13:48:13 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-17 13:48:13 -0500 |
commit | b034f6d2de92a784853ddeef4e51b26148056691 (patch) | |
tree | 2d692d7e37265164410eaebad44759ab50928192 /examples/pirate.py | |
parent | 91bc999d022a486334b9054859e2ef6f03ca9666 (diff) | |
download | cmd2-git-b034f6d2de92a784853ddeef4e51b26148056691.tar.gz |
Improved how new argparse-based decorators provide help
Now "help command_name" and "command_name -h" provide exactly the same text.
The function docstring for the "do_*" command sets and overrides the ArgumentParser "description" if the docstring is not empty.
Diffstat (limited to 'examples/pirate.py')
0 files changed, 0 insertions, 0 deletions