summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index ccd96991..563e328d 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2845,7 +2845,8 @@ class Cmd(cmd.Cmd):
def do_set(self, args: argparse.Namespace) -> None:
"""Set a settable parameter or show current settings of parameters"""
if not self.settables:
- self.poutput("There are no settable parameters")
+ self.pwarning("There are no settable parameters")
+ return
if args.param:
try: