diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-03-04 22:33:58 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-03-04 22:33:58 -0500 |
commit | f765be2ce360cf104999f1440f1b13e75cbd957c (patch) | |
tree | 1e19aca035e5cfb92afcf6e9f77eee9de44885cd /docs | |
parent | b4e7cc7cb2de1bd78d65a250caab91dc6cd90221 (diff) | |
download | cmd2-git-f765be2ce360cf104999f1440f1b13e75cbd957c.tar.gz |
Fixed wording in freefeatures.rst
Diffstat (limited to 'docs')
-rw-r--r-- | docs/freefeatures.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst index a34d9fcc..5c246798 100644 --- a/docs/freefeatures.rst +++ b/docs/freefeatures.rst @@ -212,13 +212,14 @@ of using ``pyscript`` is shown below along with the arg_printer_ script:: .. note:: - If you want to be able to pass arguments with spaces to scripts, then we strongly recommend using one of the decorators, + If you want to be able to pass arguments with spaces to commands, then we strongly recommend using one of the decorators, such as ``with_argument_list``. ``cmd2`` will pass your **do_*** methods a list of arguments in this case. When using this decorator, you can then put arguments in quotes like so:: $ examples/arg_print.py (Cmd) lprint foo "bar baz" + lprint was called with the following list of arguments: ['foo', 'bar baz'] .. _arg_printer: https://github.com/python-cmd2/cmd2/blob/master/examples/scripts/arg_printer.py |