def __init__(self, subparser):
    self.rest = None
    setting_parser = subparser.add_parser('settings', help='Manage backup service settings', add_help=False, allow_abbrev=False)
    group = setting_parser.add_argument_group('Backup service settings options')
    group.add_argument('--get', action='store_true', help='Get current backup service configuration')
    group.add_argument('--set', action='store_true', help='Change the service configuration')
    group.add_argument('--history-rotation-period', dest='rotation_period', type=int, metavar='<days>', help='The number of days after which the task history should be rotated')
    group.add_argument('--history-rotation-size', dest='rotation_size', type=int, metavar='<mebibytes>', help='The size in MiB at which to rotate the task history')
    group.add_argument('-h', '--help', action=CBHelpAction, klass=self, help='Prints the short or long help message')
def __init__(self, subparser):
    self.rest = None
    setting_parser = subparser.add_parser('settings', help='Manage backup service settings', add_help=False, allow_abbrev=False)
    group = setting_parser.add_argument_group('Backup service settings options')
    group.add_argument('--get', action='store_true', help='Get current backup service configuration')
    group.add_argument('--set', action='store_true', help='Change the service configuration')
    group.add_argument('--history-rotation-period', dest='rotation_period', type=int, metavar='<days>', help='The number of days after which the task history should be rotated')
    group.add_argument('--history-rotation-size', dest='rotation_size', type=int, metavar='<mebibytes>', help='The size in MiB at which to rotate the task history')
    group.add_argument('-h', '--help', action=CBHelpAction, klass=self, help='Prints the short or long help message')