def __init__(self):
    super(Failover, self).__init__()
    self.parser.prog = 'couchbase-cli failover'
    group = self.parser.add_argument_group('Failover options')
    group.add_argument('--server-failover', dest='servers_to_failover', metavar='<server_list>', required=True, help='A list of servers to fail over')
    group.add_argument('--hard', dest='hard', action='store_true', help='Hard failover the server')
    group.add_argument('--force', dest='force', action='store_true', help='Force a hard failover')
    group.add_argument('--no-progress-bar', dest='no_bar', action='store_true', default=False, help='Disables the progress bar')
    group.add_argument('--no-wait', dest='wait', action='store_false', default=True, help="Don't wait for rebalance completion")
def __init__(self):
    super(Failover, self).__init__()
    self.parser.prog = 'couchbase-cli failover'
    group = self.parser.add_argument_group('Failover options')
    group.add_argument('--server-failover', dest='servers_to_failover', metavar='<server_list>', required=True, help='A list of servers to fail over')
    group.add_argument('--hard', dest='hard', action='store_true', help='Hard failover the server')
    group.add_argument('--force', dest='force', action='store_true', help='Force a hard failover')
    group.add_argument('--no-progress-bar', dest='no_bar', action='store_true', default=False, help='Disables the progress bar')
    group.add_argument('--no-wait', dest='wait', action='store_false', default=True, help="Don't wait for rebalance completion")