diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-05 22:32:21 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-05 22:32:21 -0500 |
commit | 58500cb0b86e8046b49aac5d554a6fa9630c0cd3 (patch) | |
tree | f617a14e0b9a9114381ec49d64bd479e0e9bc15d | |
parent | 07e895d65fcbf35d2a9ad5c9ebffef6a067537a7 (diff) | |
download | cmd2-git-58500cb0b86e8046b49aac5d554a6fa9630c0cd3.tar.gz |
Updated documentation
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 65caa0df..2c35a163 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2829,7 +2829,7 @@ class Cmd(cmd.Cmd): # Create a parser with a value field based on this settable settable_parser = DEFAULT_ARGUMENT_PARSER(parents=[Cmd.set_parser_parent]) - # Settables that populate choices have the values of those choices overwrite the arg name + # Settables with choices list the values of those choices instead of the arg name # in help text and this shows in tab-completion hints. Set metavar to avoid this. arg_name = 'value' settable_parser.add_argument(arg_name, metavar=arg_name, help=settable.description, |