summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-05 22:32:21 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-05 22:32:21 -0500
commit58500cb0b86e8046b49aac5d554a6fa9630c0cd3 (patch)
treef617a14e0b9a9114381ec49d64bd479e0e9bc15d
parent07e895d65fcbf35d2a9ad5c9ebffef6a067537a7 (diff)
downloadcmd2-git-58500cb0b86e8046b49aac5d554a6fa9630c0cd3.tar.gz
Updated documentation
-rw-r--r--cmd2/cmd2.py2
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,