Skip to content

Commit f765be2

Browse files
committed
Fixed wording in freefeatures.rst
1 parent b4e7cc7 commit f765be2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/freefeatures.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,14 @@ of using ``pyscript`` is shown below along with the arg_printer_ script::
212212

213213
.. note::
214214

215-
If you want to be able to pass arguments with spaces to scripts, then we strongly recommend using one of the decorators,
215+
If you want to be able to pass arguments with spaces to commands, then we strongly recommend using one of the decorators,
216216
such as ``with_argument_list``. ``cmd2`` will pass your **do_*** methods a list of arguments in this case.
217217

218218
When using this decorator, you can then put arguments in quotes like so::
219219

220220
$ examples/arg_print.py
221221
(Cmd) lprint foo "bar baz"
222+
lprint was called with the following list of arguments: ['foo', 'bar baz']
222223

223224
.. _arg_printer: https://github.com/python-cmd2/cmd2/blob/master/examples/scripts/arg_printer.py
224225

0 commit comments

Comments
 (0)