tools/mpremote: Add "devs" shortcut for "connect list".
See issue #7480. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
1f48934312
commit
162bf3c5d8
@ -27,6 +27,7 @@ _PROG = "mpremote"
|
|||||||
|
|
||||||
_BUILTIN_COMMAND_EXPANSIONS = {
|
_BUILTIN_COMMAND_EXPANSIONS = {
|
||||||
# Device connection shortcuts.
|
# Device connection shortcuts.
|
||||||
|
"devs": "connect list",
|
||||||
"a0": "connect /dev/ttyACM0",
|
"a0": "connect /dev/ttyACM0",
|
||||||
"a1": "connect /dev/ttyACM1",
|
"a1": "connect /dev/ttyACM1",
|
||||||
"a2": "connect /dev/ttyACM2",
|
"a2": "connect /dev/ttyACM2",
|
||||||
|
Loading…
Reference in New Issue
Block a user