From ec404a6451a608ae6fcc34420b7abf8ae436d464 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 6 Feb 2019 20:38:23 -0500 Subject: Minor doc updates that fix a few typos and inaccuracies --- docs/argument_processing.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/argument_processing.rst') 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}'.format(args.tag, ' '.join(args.content))) self.stdout.write('\n') -The ``help tag`` command displays: +the ``help tag`` command displays: .. code-block:: none -- cgit v1.2.1