diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-03-04 20:50:10 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-03-04 20:50:10 -0500 |
commit | 5e423f89572f148c2a26f8adbaa44915be9d405a (patch) | |
tree | f248188fc65a4cb12b6f24ad9bbce00317526335 /docs | |
parent | 28e44aac56ea21be8aa3bea5d93325d0edd836be (diff) | |
download | cmd2-git-5e423f89572f148c2a26f8adbaa44915be9d405a.tar.gz |
Updated CHANGELOG and fixed Sphinx docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/freefeatures.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst index c70a2d93..b6c7bebd 100644 --- a/docs/freefeatures.rst +++ b/docs/freefeatures.rst @@ -222,12 +222,11 @@ of using ``pyscript`` is shown below along with the **examples/arg_printer.py** If you want to be able to pass arguments with spaces to scripts, 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 (NOTE: the ``do_pyscript`` method uses this decorator:: + When using this decorator, you can then put arguments in quotes like so:: - (Cmd) pyscript examples/arg_printer.py hello '23 fnord' - Running Python script 'arg_printer.py' which was called with 2 arguments - arg 1: 'hello' - arg 2: '23 fnord' + $ examples/arg_print.py + (Cmd) lprint foo "bar baz" + lprint was called with the following list of arguments: ['foo', 'bar baz'] IPython (optional) |