Skip to content

Commit f10e045

Browse files
committed
Add --probe alias for --uid.
1 parent 3fce2d3 commit f10e045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyocd/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def build_parser(self):
157157
# Common connection related options.
158158
connectParser = argparse.ArgumentParser(description='common', add_help=False)
159159
connectOptions = connectParser.add_argument_group("connection")
160-
connectOptions.add_argument("-u", "--uid", dest="unique_id",
160+
connectOptions.add_argument("-u", "--uid", "--probe", dest="unique_id",
161161
help="Choose a probe by its unique ID or a substring thereof.")
162162
connectOptions.add_argument("-b", "--board", dest="board_override", metavar="BOARD",
163163
help="Set the board type (not yet implemented).")

0 commit comments

Comments
 (0)