diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-02-06 21:40:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 21:40:00 -0500 |
| commit | bc9fd93cf00dc8adddb87b1fd973309d6c38c2a5 (patch) | |
| tree | fc8ff817e8d21809a14672588fc2cf5c7cded531 /docs/argument_processing.rst | |
| parent | 911d9651dd5370f4432b45ba1e481309d01178d5 (diff) | |
| parent | ec404a6451a608ae6fcc34420b7abf8ae436d464 (diff) | |
| download | cmd2-git-0.9.8.tar.gz | |
Merge pull request #624 from python-cmd2/doc_updates0.9.8
Minor doc updates that fix a few typos and inaccuracies
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 |
