Skip to content

Commit

Permalink
Corrected help text for alias command
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvanbrunt committed Mar 18, 2021
1 parent 4ed7a9c commit a0cb0e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd2/cmd2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3099,7 +3099,7 @@ def _alias_delete(self, args: argparse.Namespace) -> None:
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
Expand Down

0 comments on commit a0cb0e3

Please sign in to comment.