From: Sage Weil Date: Sun, 12 Aug 2018 20:28:36 +0000 (-0500) Subject: radosgw-admin: remove -a --auth-uid arg X-Git-Tag: v14.0.1~431^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=487cfabc4f626297ea29be3665591076769569e7;p=ceph.git radosgw-admin: remove -a --auth-uid arg It was already a no-op. Signed-off-by: Sage Weil --- diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst index f67e1aaa7fd0..b83dc96c9f9a 100644 --- a/doc/man/8/radosgw-admin.rst +++ b/doc/man/8/radosgw-admin.rst @@ -563,10 +563,6 @@ Options Optional for listing operations to specify the max entires -.. option:: --auth-uid=auid - - The librados auid. - .. option:: --purge-data When specified, user removal will also purge all the user data. diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 3cd7e2674112..dc71ab851023 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -2845,11 +2845,6 @@ int main(int argc, const char **argv) // do nothing } else if (ceph_argparse_binary_flag(args, i, &commit, NULL, "--commit", (char*)NULL)) { // do nothing - } else if (ceph_argparse_witharg(args, i, &tmp, errs, "-a", "--auth-uid", (char*)NULL)) { - if (!errs.str().empty()) { - cerr << errs.str() << std::endl; - exit(EXIT_FAILURE); - } } else if (ceph_argparse_witharg(args, i, &val, "--min-rewrite-size", (char*)NULL)) { min_rewrite_size = (uint64_t)atoll(val.c_str()); } else if (ceph_argparse_witharg(args, i, &val, "--max-rewrite-size", (char*)NULL)) {