tools/pyboard.py: Add -d as an alias for --device.
This commit is contained in:
committed by
Damien George
parent
1cf994c48b
commit
3a0f64fc7a
@@ -557,6 +557,7 @@ def main():
|
||||
|
||||
cmd_parser = argparse.ArgumentParser(description="Run scripts on the pyboard.")
|
||||
cmd_parser.add_argument(
|
||||
"-d",
|
||||
"--device",
|
||||
default=os.environ.get("PYBOARD_DEVICE", "/dev/ttyACM0"),
|
||||
help="the serial device or the IP address of the pyboard",
|
||||
|
||||
Reference in New Issue
Block a user