summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-03-16 17:39:38 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-03-16 17:39:38 -0400
commita36f1fff6bd058225dd0eaf63f45f3dfa34d338c (patch)
treede6fd37065cc48a8182951977c24114d2c6000c4 /CHANGELOG.md
parentc88453a10d386fabd209abb0a0465f1af7da3303 (diff)
downloadcmd2-git-a36f1fff6bd058225dd0eaf63f45f3dfa34d338c.tar.gz
Added help_error and default_error
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4825f5f5..6d21b33c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
* Enhancements
* Added ability to include command name placeholders in the message printed when trying to run a disabled command.
* See docstring for ``disable_command()`` or ``disable_category()`` for more details.
+ * Added instance attributes to customize error messages without having to override methods. Theses messages can
+ 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
* 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.