diff options
author | Eric Lin <anselor@gmail.com> | 2020-09-10 09:15:05 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-09-11 13:50:45 -0400 |
commit | 872da20feba57f42dde204da01dc48c4c87e1b54 (patch) | |
tree | 37f7812aae5eddac9d8d37ead8b22828378e7497 /CHANGELOG.md | |
parent | 6093e5e9c1b6366c67323f090d21696e867b6625 (diff) | |
download | cmd2-git-872da20feba57f42dde204da01dc48c4c87e1b54.tar.gz |
Changes default category to be heritable by default - meaning that subclasses will inherit the parent class's default category.
Adds optional flag to disable heritability.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index df8fae73..c7938be1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ not display hints even when this setting is True. * argparse tab completion now groups flag names which run the same action. Optional flags are wrapped in brackets like it is done in argparse usage text. + * default category decorators are now heritable by default and will propagate the category down the + class hierarchy until overridden. There's a new optional flag to set heritable to false. * Bug Fixes * Fixed issue where flag names weren't always sorted correctly in argparse tab completion |