def __init__(self):
    super(XdcrSetup, self).__init__()
    self.parser.prog = 'couchbase-cli xdcr-setup'
    group = self.parser.add_argument_group('XDCR setup options')
    group.add_argument('--create', dest='create', action='store_true', default=False, help='Create an XDCR remote reference')
    group.add_argument('--delete', dest='delete', action='store_true', default=False, help='Delete an XDCR remote reference')
    group.add_argument('--edit', dest='edit', action='store_true', default=False, help='Set the local read-only user')
    group.add_argument('--list', dest='list', action='store_true', default=False, help='List all XDCR remote references')
    group.add_argument('--xdcr-cluster-name', dest='name', metavar='<name>', help='The name for the remote cluster reference')
    group.add_argument('--xdcr-hostname', dest='hostname', metavar='<hostname>', help='The hostname of the remote cluster reference')
    group.add_argument('--xdcr-username', dest='r_username', metavar='<username>', help='The username of the remote cluster reference')
    group.add_argument('--xdcr-password', dest='r_password', metavar='<password>', help='The password of the remote cluster reference')
    group.add_argument('--xdcr-user-certificate', dest='r_certificate', metavar='<path>', help='The user certificate for authentication')
    group.add_argument('--xdcr-user-key', dest='r_key', metavar='<path>', help='The user key for authentication')
    group.add_argument('--xdcr-demand-encryption', dest='encrypt', choices=['0', '1'], action=CBDeprecatedAction, help=SUPPRESS)
    group.add_argument('--xdcr-encryption-type', dest='encryption_type', choices=['full', 'half'], metavar='<type>', action=CBDeprecatedAction, help=SUPPRESS)
    group.add_argument('--xdcr-certificate', dest='certificate', metavar='<path>', help='The certificate used for encryption')
    group.add_argument('--xdcr-secure-connection', dest='secure_connection', choices=['none', 'full', 'half'], metavar='<type>', help='The XDCR secure connection type')
def __init__(self):
    super(XdcrSetup, self).__init__()
    self.parser.prog = 'couchbase-cli xdcr-setup'
    group = self.parser.add_argument_group('XDCR setup options')
    group.add_argument('--create', dest='create', action='store_true', default=False, help='Create an XDCR remote reference')
    group.add_argument('--delete', dest='delete', action='store_true', default=False, help='Delete an XDCR remote reference')
    group.add_argument('--edit', dest='edit', action='store_true', default=False, help='Set the local read-only user')
    group.add_argument('--list', dest='list', action='store_true', default=False, help='List all XDCR remote references')
    group.add_argument('--xdcr-cluster-name', dest='name', metavar='<name>', help='The name for the remote cluster reference')
    group.add_argument('--xdcr-hostname', dest='hostname', metavar='<hostname>', help='The hostname of the remote cluster reference')
    group.add_argument('--xdcr-username', dest='r_username', metavar='<username>', help='The username of the remote cluster reference')
    group.add_argument('--xdcr-password', dest='r_password', metavar='<password>', help='The password of the remote cluster reference')
    group.add_argument('--xdcr-user-certificate', dest='r_certificate', metavar='<path>', help='The user certificate for authentication')
    group.add_argument('--xdcr-user-key', dest='r_key', metavar='<path>', help='The user key for authentication')
    group.add_argument('--xdcr-demand-encryption', dest='encrypt', choices=['0', '1'], action=CBDeprecatedAction, help=SUPPRESS)
    group.add_argument('--xdcr-encryption-type', dest='encryption_type', choices=['full', 'half'], metavar='<type>', action=CBDeprecatedAction, help=SUPPRESS)
    group.add_argument('--xdcr-certificate', dest='certificate', metavar='<path>', help='The certificate used for encryption')
    group.add_argument('--xdcr-secure-connection', dest='secure_connection', choices=['none', 'full', 'half'], metavar='<type>', help='The XDCR secure connection type')