Commit 965b3e04 authored by xarx00's avatar xarx00
Browse files

Changes in cli.py reverted

parent 6f94ced3
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -230,10 +230,7 @@ def _populate_sub_parser_by_class(cls, sub_parser):
             for x in required if x != cls._id_attr]
            [sub_parser_action.add_argument("--%s" % x.replace('_', '-'),
                                            required=False)
             for x in optional if x != cls._id_attr and x not in ['recursive']]
            [sub_parser_action.add_argument("--%s" % x, action='store_true',
                                            required=False)
             for x in optional if x in ['recursive']]
             for x in optional if x != cls._id_attr]

    if mgr_cls.__name__ in cli.custom_actions:
        name = mgr_cls.__name__