Skip to content

Commit a0cb0e3

Browse files
committed
Corrected help text for alias command
1 parent 4ed7a9c commit a0cb0e3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## 2.0.0 (TBD, 2021)
22
* Bug Fixes
33
* Fixed issue where history indexes could get repeated
4-
* Fixed issue where TableCreator was tossing blank last lines
4+
* Fixed issue where TableCreator was tossing blank last line
5+
* Corrected help text for alias command
56
* Breaking Changes
67
* `cmd2` 2.0 supports Python 3.6+ (removed support for Python 3.5)
78
* Argparse Completion / Settables

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3099,7 +3099,7 @@ def _alias_delete(self, args: argparse.Namespace) -> None:
30993099
descriptive_header='Value',
31003100
)
31013101

3102-
@as_subcommand_to('alias', 'list', alias_list_parser, help=alias_delete_help)
3102+
@as_subcommand_to('alias', 'list', alias_list_parser, help=alias_list_help)
31033103
def _alias_list(self, args: argparse.Namespace) -> None:
31043104
"""List some or all aliases as 'alias create' commands"""
31053105
tokens_to_quote = constants.REDIRECTION_TOKENS

0 commit comments

Comments
 (0)