forked from M-Labs/artiq
tools,frontend: print default ports
This commit is contained in:
parent
79a5d8a12a
commit
17596f4ad8
|
@ -22,10 +22,10 @@ def get_argparser():
|
|||
help="hostname or IP address to bind to")
|
||||
group.add_argument(
|
||||
"--port-notify", default=3250, type=int,
|
||||
help="TCP port to listen to for notifications")
|
||||
help="TCP port to listen to for notifications (default: 3250)")
|
||||
group.add_argument(
|
||||
"--port-control", default=3251, type=int,
|
||||
help="TCP port to listen to for control")
|
||||
help="TCP port to listen to for control (default: 3251)")
|
||||
verbosity_args(parser)
|
||||
return parser
|
||||
|
||||
|
|
|
@ -43,7 +43,8 @@ def simple_network_args(parser, default_port):
|
|||
group.add_argument("--bind", default="::1",
|
||||
help="hostname or IP address to bind to")
|
||||
group.add_argument("-p", "--port", default=default_port, type=int,
|
||||
help="TCP port to listen to")
|
||||
help="TCP port to listen to (default: {})"
|
||||
.format(default_port))
|
||||
|
||||
|
||||
def init_logger(args):
|
||||
|
|
Loading…
Reference in New Issue