From: Abhishek Lekshmanan Date: Fri, 1 Apr 2016 11:45:09 +0000 (+0200) Subject: rgw: add a few missing cmdline switches in help X-Git-Tag: v10.1.1~15^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c4efef5790cf4fb41a6418a1d77f5f26cf80bbc4;p=ceph.git 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 --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index f85286f3ac66..f547f051f151 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 37523c9af8ca..a379c1fc83d0 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