mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
pdq2: fix commandline arguments
This commit is contained in:
parent
4d0e5db955
commit
1e5b05d4ec
@ -16,9 +16,9 @@ def _get_args():
|
||||
Evaluates times and voltages, interpolates and uploads
|
||||
them to the controller.""")
|
||||
parser.add_argument("-s", "--server", default="::1",
|
||||
help="hostname or IP of the master to connect to")
|
||||
help="hostname or IP of the controller to connect to")
|
||||
parser.add_argument("--port", default=8889, type=int,
|
||||
help="TCP port to use to connect to the master")
|
||||
help="TCP port to use to connect to the controller")
|
||||
parser.add_argument("-c", "--channel", default=0, type=int,
|
||||
help="channel: 3*board_num+dac_num [%(default)s]")
|
||||
parser.add_argument("-f", "--frame", default=0, type=int,
|
||||
|
@ -332,12 +332,10 @@ class Pdq2:
|
||||
|
||||
def _get_args():
|
||||
parser = argparse.ArgumentParser(description="PDQ2 controller")
|
||||
parser.add_argument(
|
||||
"--bind", default="::1",
|
||||
help="hostname or IP address to bind to")
|
||||
parser.add_argument(
|
||||
"--port", default=8889, type=int,
|
||||
help="TCP port to listen to")
|
||||
parser.add_argument("--bind", default="::1",
|
||||
help="hostname or IP address to bind to")
|
||||
parser.add_argument("-p", "--port", default=8889, type=int,
|
||||
help="TCP port to listen to")
|
||||
parser.add_argument(
|
||||
"-s", "--serial", default=None,
|
||||
help="device (FT245R) serial string [first]")
|
||||
|
Loading…
Reference in New Issue
Block a user