]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
config: no -C shorthand for --cluster
authorSage Weil <sage@newdream.net>
Wed, 2 May 2012 20:32:05 +0000 (13:32 -0700)
committerSage Weil <sage@newdream.net>
Wed, 2 May 2012 20:32:05 +0000 (13:32 -0700)
ceph-authtool uses it!

Fixes: #2376
Signed-off-by: Sage Weil <sage@newdream.net>
src/common/ceph_argparse.cc

index 3b142b40b0b6fcb9db14599283cab2883f9556f6..75b413d60edaa27c701c4484b4bc9c15543b1847 100644 (file)
@@ -357,7 +357,7 @@ CephInitParameters ceph_argparse_early_args
     else if (ceph_argparse_witharg(args, i, &val, "--conf", "-c", (char*)NULL)) {
       *conf_file_list = val;
     }
-    else if (ceph_argparse_witharg(args, i, &val, "--cluster", "-C", (char*)NULL)) {
+    else if (ceph_argparse_witharg(args, i, &val, "--cluster", (char*)NULL)) {
       *cluster = val;
     }
     else if ((module_type != CEPH_ENTITY_TYPE_CLIENT) &&