@@ -2542,19 +2542,19 @@ def remove_maintenance(**kwargs):
25422542def add_maintenance_request_parsers (add_parser ):
25432543 parser = add_parser ("add-maintenance" , add_maintenance )
25442544 parser .add_argument ("-c" , "--component" , type = str )
2545- parser .add_argument ("-a" , "--address" , type = str )
2546- parser .add_argument ("-t" , "--type" , type = str )
2545+ parser .add_argument ("-a" , "--address" , type = str , help = "Component address" )
2546+ parser .add_argument ("-t" , "--type" , type = str , help = "Maintenance type" )
25472547 parser .add_argument ("--comment" , type = str )
25482548
25492549 parser = add_parser ("remove-maintenance" , remove_maintenance )
25502550 parser .add_argument ("-c" , "--component" , type = str )
2551- parser .add_argument ("-a" , "--address" , type = str )
2551+ parser .add_argument ("-a" , "--address" , type = str , help = "Component address" )
25522552 parser .add_argument ("--id" , default = None )
25532553 add_structured_argument (parser , "--ids" , default = None )
2554- parser .add_argument ("-t" , "--type" , default = None )
2554+ parser .add_argument ("-t" , "--type" , default = None , help = "Maintenance type" )
25552555 parser .add_argument ("-u" , "--user" , default = None )
2556- parser .add_argument ("--mine" , default = False )
2557- parser .add_argument ("--all" , default = False )
2556+ parser .add_argument ("--mine" , action = "store_true" )
2557+ parser .add_argument ("--all" , action = "store_true" )
25582558
25592559
25602560def add_admin_parser (root_subparsers ):
0 commit comments