Description
build 2.0.2-764
1.I have not found any mention about cluster-edit in http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-cmdline-couchbase-cli.html
2. help contains only:
cluster-edit modify cluster settings
(there is no information on the parameters)
3. seems like parameters for cluster-edit & cluster-init are identical and are interchangeable
[root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password
SUCCESS: init localhost
[root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password --cluster-init-password=password1
SUCCESS: init localhost
[root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password --cluster-init-password=password1
ERROR: unable to access the REST API - please check your username (-u) and password (-p)
[root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password1 --cluster-init-password=password
SUCCESS: init localhost
[root@localhost bin]# ./couchbase-cli cluster-init -c localhost:8091 -u Administrator -p password --cluster-init-password=password1
SUCCESS: init localhost
I believe that we need to correct such conflict