diff options
Diffstat (limited to 'docs/argument_processing.rst')
-rw-r--r-- | docs/argument_processing.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/argument_processing.rst b/docs/argument_processing.rst index 12fd7a60..4c77fa80 100644 --- a/docs/argument_processing.rst +++ b/docs/argument_processing.rst @@ -93,7 +93,8 @@ Help Messages By default, cmd2 uses the docstring of the command method when a user asks for help on the command. When you use the ``@with_argparser`` -decorator, the docstring for the ``do_*`` method is used to set the description for the ``argparse.ArgumentParser`` is +decorator, the docstring for the ``do_*`` method is used to set the description for the ``argparse.ArgumentParser``. + With this code:: import argparse @@ -108,7 +109,7 @@ With this code:: self.stdout.write('<{0}>{1}</{0}>'.format(args.tag, ' '.join(args.content))) self.stdout.write('\n') -The ``help tag`` command displays: +the ``help tag`` command displays: .. code-block:: none |