@@ -105,31 +105,37 @@ def acknowledge_task(task):
105
105
help = create_task .__doc__ )
106
106
create_task_parser .add_argument (
107
107
'--project' ,
108
- help = 'Project of the queue to add the task to.'
108
+ help = 'Project of the queue to add the task to.' ,
109
+ required = True ,
109
110
)
110
111
create_task_parser .add_argument (
111
112
'--queue' ,
112
- help = 'ID (short name) of the queue to add the task to.'
113
+ help = 'ID (short name) of the queue to add the task to.' ,
114
+ required = True ,
113
115
)
114
116
create_task_parser .add_argument (
115
117
'--location' ,
116
- help = 'Location of the queue to add the task to.'
118
+ help = 'Location of the queue to add the task to.' ,
119
+ required = True ,
117
120
)
118
121
119
122
pull_and_ack_parser = subparsers .add_parser (
120
123
'pull-and-ack-task' ,
121
124
help = create_task .__doc__ )
122
125
pull_and_ack_parser .add_argument (
123
126
'--project' ,
124
- help = 'Project of the queue to pull the task from.'
127
+ help = 'Project of the queue to pull the task from.' ,
128
+ required = True ,
125
129
)
126
130
pull_and_ack_parser .add_argument (
127
131
'--queue' ,
128
- help = 'ID (short name) of the queue to pull the task from.'
132
+ help = 'ID (short name) of the queue to pull the task from.' ,
133
+ required = True ,
129
134
)
130
135
pull_and_ack_parser .add_argument (
131
136
'--location' ,
132
- help = 'Location of the queue to pull the task from.'
137
+ help = 'Location of the queue to pull the task from.' ,
138
+ required = True ,
133
139
)
134
140
135
141
args = parser .parse_args ()
0 commit comments