Skip to content

Commit 2c0d681

Browse files
committed
positional args are nicer
1 parent 1680f1e commit 2c0d681

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

selfdrive/debug/can_print_changes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def can_printer(bus=0, init_msgs=None, new_msgs=None):
6161

6262
parser.add_argument("--bus", type=int, help="CAN bus to print out", default=0)
6363

64-
parser.add_argument("--init", type=str, help="Route or segment to initialize with")
65-
parser.add_argument("--comp", type=str, help="Route or segment to compare against init")
64+
parser.add_argument("init", type=str, help="Route or segment to initialize with")
65+
parser.add_argument("comp", type=str, help="Route or segment to compare against init")
6666

6767
args = parser.parse_args()
6868

0 commit comments

Comments
 (0)