diff --git a/python/lsst/ts/IntegrationTests/csc_state_transition.py b/python/lsst/ts/IntegrationTests/csc_state_transition.py index c48e766b..bdb54912 100644 --- a/python/lsst/ts/IntegrationTests/csc_state_transition.py +++ b/python/lsst/ts/IntegrationTests/csc_state_transition.py @@ -94,14 +94,14 @@ def csc_state_transition() -> None: parser.add_argument( "csc", metavar="CSC[:index]", - nargs="1", + nargs=1, type=str, help="Specify which CSC[:index] to command (case sensitive).", ) parser.add_argument( "state", metavar="state", - nargs="1", + nargs=1, type=str, choices=state_list, help="Specify to which state to transition.", @@ -109,7 +109,7 @@ def csc_state_transition() -> None: parser.add_argument( "sq_index", metavar="scriptqueue_index", - nargs="1", + nargs=1, type=int, choices=[1, 2, 3], help="Specify which ScriptQueue to use.",