summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/cmd2.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index f3449a8b..479bec08 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -3204,15 +3204,15 @@ class Cmd(cmd.Cmd):
# -v must be used alone with no other options
if args.verbose:
- if (args.clear or args.edit or args.output_file or args.run or
- args.transcript or args.expanded or args.script):
+ if (args.clear or args.edit or args.output_file or args.run
+ or args.transcript or args.expanded or args.script):
self.poutput("-v can not be used with any other options")
self.poutput(self.history_parser.format_usage())
return
# -s and -x can only be used if none of these options are present: [-c -r -e -o -t]
- if (args.script or args.expanded) and (args.clear or args.edit or args.output_file or args.run or
- args.transcript):
+ if (args.script or args.expanded) and (args.clear or args.edit or args.output_file or args.run
+ or args.transcript):
self.poutput("-s and -x can not be used with -c, -r, -e, -o, or -t")
self.poutput(self.history_parser.format_usage())
return