From 7ba6bd647527fbc7ef2d460726f1e2c4f41b6f88 Mon Sep 17 00:00:00 2001 From: yuliyang Date: Tue, 3 Sep 2019 14:03:36 +0800 Subject: [PATCH] rgw: add --object-version in radosgw-admin help info Signed-off-by: yuliyang --- src/rgw/rgw_admin.cc | 1 + src/test/cli/radosgw-admin/help.t | 1 + 2 files changed, 2 insertions(+) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 23bb53d9a84ca..27aa96fc0cfe1 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -269,6 +269,7 @@ void usage() cout << " --bucket= Specify the bucket name. Also used by the quota command.\n"; cout << " --pool= Specify the pool name. Also used to scan for leaked rados objects.\n"; cout << " --object= object name\n"; + cout << " --object-version= object version\n"; cout << " --date= date in the format yyyy-mm-dd\n"; cout << " --start-date= start date in the format yyyy-mm-dd\n"; cout << " --end-date= end date in the format yyyy-mm-dd\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index e56d563a6f63e..dc106792d6f4c 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -184,6 +184,7 @@ --bucket= Specify the bucket name. Also used by the quota command. --pool= Specify the pool name. Also used to scan for leaked rados objects. --object= object name + --object-version= object version --date= date in the format yyyy-mm-dd --start-date= start date in the format yyyy-mm-dd --end-date= end date in the format yyyy-mm-dd -- 2.39.5