We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f94ced commit 965b3e0Copy full SHA for 965b3e0
gitlab/v4/cli.py
@@ -230,10 +230,7 @@ def _populate_sub_parser_by_class(cls, sub_parser):
230
for x in required if x != cls._id_attr]
231
[sub_parser_action.add_argument("--%s" % x.replace('_', '-'),
232
required=False)
233
- for x in optional if x != cls._id_attr and x not in ['recursive']]
234
- [sub_parser_action.add_argument("--%s" % x, action='store_true',
235
- required=False)
236
- for x in optional if x in ['recursive']]
+ for x in optional if x != cls._id_attr]
237
238
if mgr_cls.__name__ in cli.custom_actions:
239
name = mgr_cls.__name__
0 commit comments