summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-29 13:03:05 -0600
committerkotfu <kotfu@kotfu.net>2018-04-29 13:05:07 -0600
commitc7fa6969ffde1247122a714b597d088ca6af9166 (patch)
tree84f8d3a078afa5a0d39ce07406ab7e7b6e746cc0 /cmd2/cmd2.py
parent83fd707dcf9916c9f483e4417a2c3b2b083c8da2 (diff)
downloadcmd2-git-c7fa6969ffde1247122a714b597d088ca6af9166.tar.gz
Fix incorrect error message
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 0c738991..360743ed 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2719,7 +2719,7 @@ Usage: Usage: unalias [-a] name [name ...]
if args.all:
self.poutput('\nRead only settings:{}'.format(self.cmdenvironment()))
else:
- raise LookupError("Parameter '%s' not supported (type 'show' for list of parameters)." % param)
+ raise LookupError("Parameter '%s' not supported (type 'set' for list of parameters)." % param)
set_parser = ACArgumentParser(formatter_class=argparse.RawTextHelpFormatter)
set_parser.add_argument('-a', '--all', action='store_true', help='display read-only settings as well')