diff --git a/coordinator/Processor.py b/coordinator/Processor.py index f62dd700a6c089a56c920ea36524fd1e53e51cd0..20e9c01bdbf1fd4431cb6456dddbc18ada1bbfbc 100755 --- a/coordinator/Processor.py +++ b/coordinator/Processor.py @@ -255,14 +255,14 @@ class Processor: # positional arguments do not start with - or -- and are always required # optional arguments start with - or -- and default is required = False - # my_parser.add_argument( - # '-p', '--component', - # type = str, - # choices = list(short_name.keys()), - # required = True, - # dest = 'component', - # help = '''Name of EWS component to process, which must be present - # in the config file.''') + my_parser.add_argument( + '-p', '--component', + type = str, + choices = list(short_name.keys()), + required = False, + dest = 'component', + help = '''Name of EWS component to process, which must be present + in the config file.''') my_parser.add_argument( '-c', '--config',