File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
233232IPython (optional)
You can’t perform that action at this time.
0 commit comments