Skip to content

Commit 5e423f8

Browse files
committed
Updated CHANGELOG and fixed Sphinx docs
1 parent 28e44aa commit 5e423f8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## 0.9.11 (TBD, 2019)
2+
* Bug Fixes
3+
* Fixed a bug when the ``with_argument_list`` decorator is called with the optional ``preserve_quotes`` argument
24
* Enhancements
35
* Added ``matches_sort_key`` to override the default way tab completion matches are sorted
46
* Potentially breaking changes

docs/freefeatures.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,11 @@ of using ``pyscript`` is shown below along with the **examples/arg_printer.py**
222222
If you want to be able to pass arguments with spaces to scripts, then we strongly recommend using one of the decorators,
223223
such as ``with_argument_list``. ``cmd2`` will pass your **do_*** methods a list of arguments in this case.
224224

225-
When using this decorator, you can then put arguments in quotes like so (NOTE: the ``do_pyscript`` method uses this decorator::
225+
When using this decorator, you can then put arguments in quotes like so::
226226

227-
(Cmd) pyscript examples/arg_printer.py hello '23 fnord'
228-
Running Python script 'arg_printer.py' which was called with 2 arguments
229-
arg 1: 'hello'
230-
arg 2: '23 fnord'
227+
$ examples/arg_print.py
228+
(Cmd) lprint foo "bar baz"
229+
lprint was called with the following list of arguments: ['foo', 'bar baz']
231230

232231

233232
IPython (optional)

0 commit comments

Comments
 (0)