]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_admin: don't reuse -o command line option
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 23 Dec 2014 17:38:38 +0000 (09:38 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Jan 2015 23:58:00 +0000 (15:58 -0800)
Follow up on code review

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc

index 8a5f2acd7dfa0cc061a8b0dc75d8b311c5d2f4fa..3fb1a1ae3e5ee35d763ceb4fc734e01d99ba136c 100644 (file)
@@ -979,7 +979,7 @@ int main(int argc, char **argv)
       pool_name = val;
     } else if (ceph_argparse_witharg(args, i, &val, "-o", "--object", (char*)NULL)) {
       object = val;
-    } else if (ceph_argparse_witharg(args, i, &val, "-o", "--object-version", (char*)NULL)) {
+    } else if (ceph_argparse_witharg(args, i, &val, "--object-version", (char*)NULL)) {
       object_version = val;
     } else if (ceph_argparse_witharg(args, i, &val, "--client-id", (char*)NULL)) {
       client_id = val;