Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-8782

Fix CLI command line help for XDCR

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 2.2.0
    • 2.2.0
    • None
    • Security Level: Public
    • Linux

    Description

      The help in the command line has errors:

      ./couchbase-cli xdcr-setup help

      Error in the provided example:
      Delete a XDCR remote cluster
      couchbase-cli xdcr-delete -c 192.168.0.1:8091 \
      --xdcr-cluster-name=test

      xdcr-delete does not exist and proper command is --delete.
      In addition user did and password are needed

      So the proper example should look like:
      couchbase-cli xdcr-setup -c 192.168.0.1:8091 \
      -u Administrator -p password --delete --xdcr-cluster-name=test

      Also there is a typo "remtoe" in section below:
      xdcr-setup OPTIONS:
      --create create a new xdcr configuration
      --edit modify existed xdcr configuration
      --delete delete existed xdcr configuration
      --xdcr-cluster-name=CLUSTERNAME cluster name
      --xdcr-hostname=HOSTNAME remote host name to connect to
      --xdcr-username=USERNAME remote cluster admin username
      --xdcr-password=PASSWORD remtoe cluster admin password

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bcui Bin Cui (Inactive)
            alexis alexis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty