tools/mpremote: Accept both --help and help to show usage.

pull/8265/head
Andrew Leech 2022-02-02 21:20:05 +11:00 zatwierdzone przez Damien George
rodzic 5a86d8dc42
commit b1519845f5
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -96,6 +96,7 @@ _BUILTIN_COMMAND_EXPANSIONS = {
"exec",
"import machine; machine.RTC().datetime((2020, 1, 1, 0, 10, 0, 0, 0))",
],
"--help": "help",
}
for port_num in range(4):