Update 'dpctl'

Triss 2021-08-17 22:20:13 +00:00
parent 2f020fdc20
commit bbd706c7fb
1 changed files with 3 additions and 3 deletions

@ -8,7 +8,7 @@ The `dpctl.sh` script can be found in the `host/` directory in the source tree.
``` ```
$ ./dpctl.sh --help $ ./dpctl.sh --help
usage: dmctl [-h] [--conn CONN] subcommand ... usage: dpctl [-h] [--conn CONN] subcommand ...
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
@ -147,8 +147,8 @@ $ ./dpctl.sh jtag-scan swd 0 999
Start pin must be at least 2, but is 0 Start pin must be at least 2, but is 0
$ ./dpctl.sh jtag-scan idk 10 15 $ ./dpctl.sh jtag-scan idk 10 15
usage: dmctl jtag-scan [-h] {jtag,swd} start end usage: dpctl jtag-scan [-h] {jtag,swd} start end
dmctl jtag-scan: error: argument type: invalid choice: 'idk' (choose from 'jtag', 'swd') dpctl jtag-scan: error: argument type: invalid choice: 'idk' (choose from 'jtag', 'swd')
``` ```
### Mode 4-specific subcommands ### Mode 4-specific subcommands