diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-03-18 11:40:27 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-03-18 11:40:27 -0400 |
commit | a0cb0e37878a03aa197ba502857afabb0ffad171 (patch) | |
tree | 057faf939d356e4553906c70e0a01e0a3b7fcd3d | |
parent | 4ed7a9ccca49356f2e24341a0aabb0868ff041b0 (diff) | |
download | cmd2-git-a0cb0e37878a03aa197ba502857afabb0ffad171.tar.gz |
Corrected help text for alias command
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | cmd2/cmd2.py | 2 |
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 |