From c4efef5790cf4fb41a6418a1d77f5f26cf80bbc4 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Fri, 1 Apr 2016 13:45:09 +0200 Subject: [PATCH] rgw: add a few missing cmdline switches in help Add a few missing commandlien switches for zone operations (zone_id,source_zone,read_only) to the help options Signed-off-by: Abhishek Lekshmanan --- src/rgw/rgw_admin.cc | 3 +++ src/test/cli/radosgw-admin/help.t | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index f85286f3ac6..f547f051f15 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -197,8 +197,11 @@ void _usage() cout << " --realm-new-name= realm new name\n"; cout << " --rgw-zonegroup= zonegroup name\n"; cout << " --rgw-zone= zone in which radosgw is running\n"; + cout << " --zone-id= zone id\n"; cout << " --zone-new-name= zone new name\n"; + cout << " --source-zone specify the source zone (for data sync)\n"; cout << " --default set entity (realm, zonegroup, zone) as default\n"; + cout << " --read-only set zone as read-only (when adding to zonegroup)\n"; cout << " --endpoints= zone endpoints\n"; cout << " --fix besides checking bucket index, will also fix it\n"; cout << " --check-objects bucket check: rebuilds bucket index according to\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 37523c9af8c..a379c1fc83d 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -149,8 +149,11 @@ --realm-new-name= realm new name --rgw-zonegroup= zonegroup name --rgw-zone= zone in which radosgw is running + --zone-id= zone id --zone-new-name= zone new name + --source-zone specify the source zone (for data sync) --default set entity (realm, zonegroup, zone) as default + --read-only set zone as read-only (when adding to zonegroup) --endpoints= zone endpoints --fix besides checking bucket index, will also fix it --check-objects bucket check: rebuilds bucket index according to -- 2.47.3