File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ Running ``pyboard.py --help`` gives the following output:
2424
2525.. code-block :: text
2626
27- usage: pyboard [-h] [--device DEVICE] [-b BAUDRATE] [-u USER]
28- [-p PASSWORD] [- c COMMAND] [-w WAIT] [--follow] [-f]
27+ usage: pyboard [-h] [-d DEVICE] [-b BAUDRATE] [-u USER] [-p PASSWORD ]
28+ [-c COMMAND] [-w WAIT] [--follow | --no -follow] [-f]
2929 [files [files ...]]
3030
3131 Run scripts on the pyboard.
@@ -35,8 +35,8 @@ Running ``pyboard.py --help`` gives the following output:
3535
3636 optional arguments:
3737 -h, --help show this help message and exit
38- --device DEVICE the serial device or the IP address of the
39- pyboard
38+ -d DEVICE, -- device DEVICE
39+ the serial device or the IP address of the pyboard
4040 -b BAUDRATE, --baudrate BAUDRATE
4141 the baud rate of the serial device
4242 -u USER, --user USER the telnet login username
Original file line number Diff line number Diff line change @@ -557,6 +557,7 @@ def main():
557557
558558 cmd_parser = argparse .ArgumentParser (description = "Run scripts on the pyboard." )
559559 cmd_parser .add_argument (
560+ "-d" ,
560561 "--device" ,
561562 default = os .environ .get ("PYBOARD_DEVICE" , "/dev/ttyACM0" ),
562563 help = "the serial device or the IP address of the pyboard" ,
You can’t perform that action at this time.
0 commit comments