diff options
Diffstat (limited to 'cmd2/cmd2.py')
-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, |