forked from M-Labs/artiq
1
0
Fork 0

artiq_devtool: fix incorrect use of nargs in argparse.

This commit is contained in:
whitequark 2016-11-29 13:09:26 +00:00
parent c5b55c1dfe
commit 852598c491
1 changed files with 3 additions and 3 deletions

View File

@ -22,13 +22,13 @@ def get_argparser():
verbosity_args(parser)
parser.add_argument("--host", nargs=1, metavar="HOST",
parser.add_argument("--host", metavar="HOST",
type=str, default="lab.m-labs.hk",
help="SSH host where the development board is located")
parser.add_argument("--serial", nargs=1, metavar="SERIAL",
parser.add_argument("--serial", metavar="SERIAL",
type=str, default="/dev/ttyUSB0",
help="TTY device corresponding to the development board")
parser.add_argument("--ip", nargs=1, metavar="IP",
parser.add_argument("--ip", metavar="IP",
type=str, default="kc705.lab.m-labs.hk",
help="IP address corresponding to the development board")