From e196ef9c48264dd7055bbe96f9806b70b33503b9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 15 Feb 2015 15:00:55 -0700 Subject: [PATCH] lda_controller: style --- artiq/frontend/lda_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/lda_controller.py b/artiq/frontend/lda_controller.py index e96151bab..486313d36 100755 --- a/artiq/frontend/lda_controller.py +++ b/artiq/frontend/lda_controller.py @@ -9,10 +9,10 @@ from artiq.tools import verbosity_args, simple_network_args, init_logger def get_argparser(): parser = argparse.ArgumentParser() - parser.add_argument('-d', '--device', default="LDA-102", + parser.add_argument("-d", "--device", default="LDA-102", choices=["LDA-102", "LDA-602", "sim"]) simple_network_args(parser, 3253) - parser.add_argument('-s', '--serial', default=None, + parser.add_argument("-s", "--serial", default=None, help="USB serial number of the device") verbosity_args(parser) return parser