def __init__(self):
    super(IpFamily, self).__init__()
    self.parser.prog = 'couchbase-cli ip-family'
    group = self.parser.add_argument_group('IP family options')
    group.add_argument('--get', action='store_true', default=False, help='Retrieve current used IP family')
    group.add_argument('--set', action='store_true', default=False, help='Change current used IP family')
    group.add_argument('--ipv4', dest='ipv4', default=False, action='store_true', help='Set IP family to IPv4')
    group.add_argument('--ipv6', dest='ipv6', default=False, action='store_true', help='Set IP family to IPv6')
def __init__(self):
    super(IpFamily, self).__init__()
    self.parser.prog = 'couchbase-cli ip-family'
    group = self.parser.add_argument_group('IP family options')
    group.add_argument('--get', action='store_true', default=False, help='Retrieve current used IP family')
    group.add_argument('--set', action='store_true', default=False, help='Change current used IP family')
    group.add_argument('--ipv4', dest='ipv4', default=False, action='store_true', help='Set IP family to IPv4')
    group.add_argument('--ipv6', dest='ipv6', default=False, action='store_true', help='Set IP family to IPv6')