summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-03-17 10:53:21 -0400
committerGitHub <noreply@github.com>2019-03-17 10:53:21 -0400
commite28bce263802b94a79c974ddc2540075eb5301a2 (patch)
treeb1fba35bc42562fd2cfa63b69059a666cfd5d558 /CHANGELOG.md
parent3b6ed1151bc417633d2207d9ed1e20b491a4ef24 (diff)
parent47dce297681f799c51a65b3e8420bf0c551c779b (diff)
downloadcmd2-git-e28bce263802b94a79c974ddc2540075eb5301a2.tar.gz
Merge branch 'master' into attributes
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3f478cb2..694d2786 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,9 @@
also be colored.
* `help_error` - the error that prints when no help information can be found
* `default_error` - the error that prints when a non-existent command is run
+ * The `with_argparser` decorators now add the Statement object created when parsing the command line to the
+ `argparse.Namespace` object they pass to the `do_*` methods. It is stored in an attribute called `__statement__`.
+ This can be useful if a command function needs to know the command line for things like logging.
* Potentially breaking changes
* The following commands now write to stderr instead of stdout when printing an error. This will make catching
errors easier in pyscript.