Skip to content

Commit 047f4d8

Browse files
committed
fix freshly introduced bug
1 parent 6f361c2 commit 047f4d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

can/viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def parse_args(args):
403403
choices=sorted(can.VALID_INTERFACES))
404404

405405
# Print help message when no arguments are given
406-
if args:
406+
if not args:
407407
parser.print_help(sys.stderr)
408408
import errno
409409
raise SystemExit(errno.EINVAL)

0 commit comments

Comments
 (0)