From: Greg Farnum Date: Wed, 5 May 2010 21:04:15 +0000 (-0700) Subject: rgw: admin uses --secret instead of --key (as --key is already taken) X-Git-Tag: v0.20.1~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d8a5e9c2cbd40f789a35c71a1fc6d1dbf41dcae4;p=ceph.git rgw: admin uses --secret instead of --key (as --key is already taken) --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index b11c16c432f..8d40adf7e78 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -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);