Skip to content

Commit

Permalink
radosgw-admin: add missing --zonegroup-id to usage
Browse files Browse the repository at this point in the history
also clarified that --rgw-zone takes the zone by name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Reported-by: John Wilkins <jowilkin@redhat.com>
(cherry picked from commit 97fad75)
  • Loading branch information
cbodley authored and yehudasa committed May 9, 2016
1 parent fdf8dcb commit a28fe02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/rgw/rgw_admin.cc
Expand Up @@ -195,7 +195,8 @@ void _usage()
cout << " --realm-id=<realm id> realm id\n";
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 << " --zonegroup-id=<zonegroup id> zonegroup id\n";
cout << " --rgw-zone=<zone> name of 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";
Expand Down
3 changes: 2 additions & 1 deletion src/test/cli/radosgw-admin/help.t
Expand Up @@ -147,7 +147,8 @@
--realm-id=<realm id> realm id
--realm-new-name=<realm new name> realm new name
--rgw-zonegroup=<zonegroup> zonegroup name
--rgw-zone=<zone> zone in which radosgw is running
--zonegroup-id=<zonegroup id> zonegroup id
--rgw-zone=<zone> name of 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)
Expand Down

0 comments on commit a28fe02

Please sign in to comment.