summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--cmd2/cmd2.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95c3f71a..05648a17 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,8 @@
## 2.0.0 (TBD, 2021)
* Bug Fixes
* Fixed issue where history indexes could get repeated
- * Fixed issue where TableCreator was tossing blank last lines
+ * Fixed issue where TableCreator was tossing blank last line
+ * Corrected help text for alias command
* Breaking Changes
* `cmd2` 2.0 supports Python 3.6+ (removed support for Python 3.5)
* Argparse Completion / Settables
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 67b8ed39..cccfa882 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -3099,7 +3099,7 @@ class Cmd(cmd.Cmd):
descriptive_header='Value',
)
- @as_subcommand_to('alias', 'list', alias_list_parser, help=alias_delete_help)
+ @as_subcommand_to('alias', 'list', alias_list_parser, help=alias_list_help)
def _alias_list(self, args: argparse.Namespace) -> None:
"""List some or all aliases as 'alias create' commands"""
tokens_to_quote = constants.REDIRECTION_TOKENS