You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser=argparse.ArgumentParser(description='Toggles one or more constraints depending on node availability')
175
206
parser.add_argument('--watch', metavar='watch', action='append', default=[], help='A node which availability is to be watched.')
176
207
parser.add_argument('--toggle', metavar='toggle', action='append', default=[], help='A node for which constraints are to be toggled. Defaults to all nodes.')
177
-
parser.add_argument('--label', metavar='label', action='append', help='A label which is to be toggled according to availability for watched nodes.')
208
+
parser.add_argument('--label', metavar='label', action='append', default=[], help='A label which is to be toggled according to availability for watched nodes.')
178
209
parser.add_argument('--prefix', metavar='prefix', default='disabled', help='The prefix to use for disabled labels. Defaults to "disabled".')
179
-
parser.add_argument('--from-file', metavar='fromFile', action=FromFileAction, help='A file which holds configurations.')
210
+
parser.add_argument('fromFile', action=FromFileAction, help='A file which holds configurations.')
0 commit comments