]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add a few missing cmdline switches in help
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 11:45:09 +0000 (13:45 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 13:41:41 +0000 (15:41 +0200)
Add a few missing commandlien switches for zone
operations (zone_id,source_zone,read_only) to the help options

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index f85286f3ac66da7d457110523cf2399b74f942d1..f547f051f1511f5fe7635baf27f25d0c1c9de725 100644 (file)
@@ -197,8 +197,11 @@ void _usage()
   cout << "   --realm-new-name=<realm new name> realm new name\n";
   cout << "   --rgw-zonegroup=<zonegroup>   zonegroup name\n";
   cout << "   --rgw-zone=<zone>         zone in which radosgw is running\n";
+  cout << "   --zone-id=<zone id>       zone id\n";
   cout << "   --zone-new-name=<zone>    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=<list>        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";
index 37523c9af8ca08a72aa7329ccb40ed96bd4f3688..a379c1fc83d0e5bc5782e8bcf1e521119c3ddb76 100644 (file)
      --realm-new-name=<realm new name> realm new name
      --rgw-zonegroup=<zonegroup>   zonegroup name
      --rgw-zone=<zone>         zone in which radosgw is running
+     --zone-id=<zone id>       zone id
      --zone-new-name=<zone>    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=<list>        zone endpoints
      --fix                     besides checking bucket index, will also fix it
      --check-objects           bucket check: rebuilds bucket index according to