tools/mpremote: Add "devs" shortcut for "connect list".

See issue #7480.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-08-12 17:28:37 +10:00
parent 1f48934312
commit 162bf3c5d8

View File

@ -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",