Skip to content

Commit 00df9e4

Browse files
committed
Fixed long line warning
1 parent a1afa7c commit 00df9e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3211,7 +3211,8 @@ def do_history(self, args: argparse.Namespace) -> None:
32113211
return
32123212

32133213
# -s and -x can only be used if none of these options are present: [-c -r -e -o -t]
3214-
if (args.script or args.expanded) and (args.clear or args.edit or args.output_file or args.run or args.transcript):
3214+
if (args.script or args.expanded) \
3215+
and (args.clear or args.edit or args.output_file or args.run or args.transcript):
32153216
self.poutput("-s and -x can not be used with -c, -r, -e, -o, or -t")
32163217
self.poutput(self.history_parser.format_usage())
32173218
return

0 commit comments

Comments
 (0)