]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: admin uses --secret instead of --key (as --key is already taken)
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 5 May 2010 21:04:15 +0000 (14:04 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 5 May 2010 21:04:30 +0000 (14:04 -0700)
src/rgw/rgw_admin.cc

index b11c16c432f9e1fe8f767284633378063a2826a7..8d40adf7e782b8190c8edf777bb76fe2351ef8fc 100644 (file)
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
       list_buckets = true;
     } else if (CONF_ARG_EQ("uid", 'i')) {
       CONF_SAFE_SET_ARG_VAL(&user_id, OPT_STR);
-    } else if (CONF_ARG_EQ("key", 'k')) {
+    } else if (CONF_ARG_EQ("secret", 's')) {
       CONF_SAFE_SET_ARG_VAL(&secret_key, OPT_STR);
     } else if (CONF_ARG_EQ("email", 'e')) {
       CONF_SAFE_SET_ARG_VAL(&user_email, OPT_STR);