diff options
-rw-r--r-- | CHANGES.md | 11 | ||||
-rwxr-xr-x | cmd2.py | 2 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | tests/test_cmd2.py | 2 |
4 files changed, 11 insertions, 6 deletions
@@ -7,11 +7,16 @@ News *Release date: TBD* * Bug fixes - * Fixed a bug in display a span of history items when only an end index is supplied + * Fixed a bug in displaying a span of history items when only an end index is supplied * Enhancements * Added the ability to exclude commands from the help menu (**eof** included by default) - * Redundant list command removed and features merged into history command - * Added **pyscript** command which supports running Python scripts with arguments + * Redundant **list** command removed and features merged into **history** command + * Added **pyscript** command which supports tab-completion and running Python scripts with arguments + * Changed default value of USE_ARG_LIST to True - this affects the beavhior of all **@options** commands + * **WARNING**: This breaks backwards compatibility, to restore backwards compatibility, add this to the + **__init__()** method in your custom class derived from cmd2.Cmd: + * set_use_arg_list(False) + * This change improves argument parsing for all new applications 0.7.2 ----- @@ -87,7 +87,7 @@ try: except ImportError: pass -__version__ = '0.7.3a' +__version__ = '0.7.3' # Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past pyparsing.ParserElement.enablePackrat() @@ -5,7 +5,7 @@ Setuptools setup file, used to install or test 'cmd2' """ from setuptools import setup -VERSION = '0.7.3a' +VERSION = '0.7.3' DESCRIPTION = "Extra features for standard library's cmd module" LONG_DESCRIPTION = """cmd2 is an enhancement to the standard library's cmd module for Python 2.7 diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 3a69c09c..c38adc5d 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -22,7 +22,7 @@ from conftest import run_cmd, normalize, BASE_HELP, HELP_HISTORY, SHORTCUTS_TXT, def test_ver(): - assert cmd2.__version__ == '0.7.3a' + assert cmd2.__version__ == '0.7.3' def test_base_help(base_app): |