summaryrefslogtreecommitdiff
path: root/docs/reference/pyboard.py.rst
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@oddbit.com>2020-03-25 13:31:18 -0400
committerDamien George <damien.p.george@gmail.com>2020-03-30 11:37:32 +1100
commit3a0f64fc7aafe9fa39f518aec389ef5f55b40007 (patch)
treeb1fa252ffb9e3c5f75e4b713810c6e01bbe59a5b /docs/reference/pyboard.py.rst
parent1cf994c48b912254802f48e31eaf95e49ac55a82 (diff)
tools/pyboard.py: Add -d as an alias for --device.
Diffstat (limited to 'docs/reference/pyboard.py.rst')
-rw-r--r--docs/reference/pyboard.py.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/pyboard.py.rst b/docs/reference/pyboard.py.rst
index d7d6fae3f..d404c738f 100644
--- a/docs/reference/pyboard.py.rst
+++ b/docs/reference/pyboard.py.rst
@@ -24,8 +24,8 @@ Running ``pyboard.py --help`` gives the following output:
.. code-block:: text
- usage: pyboard [-h] [--device DEVICE] [-b BAUDRATE] [-u USER]
- [-p PASSWORD] [-c COMMAND] [-w WAIT] [--follow] [-f]
+ usage: pyboard [-h] [-d DEVICE] [-b BAUDRATE] [-u USER] [-p PASSWORD]
+ [-c COMMAND] [-w WAIT] [--follow | --no-follow] [-f]
[files [files ...]]
Run scripts on the pyboard.
@@ -35,8 +35,8 @@ Running ``pyboard.py --help`` gives the following output:
optional arguments:
-h, --help show this help message and exit
- --device DEVICE the serial device or the IP address of the
- pyboard
+ -d DEVICE, --device DEVICE
+ the serial device or the IP address of the pyboard
-b BAUDRATE, --baudrate BAUDRATE
the baud rate of the serial device
-u USER, --user USER the telnet login username