diff --git a/python/lsst/ts/IntegrationTests/csc_state_transition.py b/python/lsst/ts/IntegrationTests/csc_state_transition.py index 3fb927ab..04eb957e 100644 --- a/python/lsst/ts/IntegrationTests/csc_state_transition.py +++ b/python/lsst/ts/IntegrationTests/csc_state_transition.py @@ -93,23 +93,26 @@ def csc_state_transition() -> None: parser = argparse.ArgumentParser() parser.add_argument( "csc", - metavar="csc", - nargs="?", + metavar="CSC[:index]", + nargs="1", + required=True, type=str, - help="Specify which CSC to command (case sensitive).", + help="Specify which CSC[:index] to command (case sensitive).", ) parser.add_argument( "state", metavar="state", - nargs="?", + nargs="1", + required=True, type=str, choices=state_list, help="Specify to which state to transition.", ) parser.add_argument( "sq_index", - metavar="sq_index", - nargs="?", + metavar="scriptqueue_index", + nargs="1", + required=True, type=int, choices=[1, 2, 3], help="Specify which ScriptQueue to use.",