From: Casey Bodley Date: Tue, 26 Apr 2016 19:20:45 +0000 (-0400) Subject: radosgw-admin: add missing --zonegroup-id to usage X-Git-Tag: v10.2.1~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a28fe02c933e2ec7ea969a974f961769052e9d38;p=ceph.git radosgw-admin: add missing --zonegroup-id to usage also clarified that --rgw-zone takes the zone by name Signed-off-by: Casey Bodley Reported-by: John Wilkins (cherry picked from commit 97fad754565b262529073e1b9f8d1799bfdfe0de) --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 3e4bcba2790b..641ca1f2e6e4 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -195,7 +195,8 @@ void _usage() cout << " --realm-id= realm id\n"; 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 << " --zonegroup-id= zonegroup id\n"; + cout << " --rgw-zone= name of 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"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 5867f00c6349..d15b0268c003 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -147,7 +147,8 @@ --realm-id= realm id --realm-new-name= realm new name --rgw-zonegroup= zonegroup name - --rgw-zone= zone in which radosgw is running + --zonegroup-id= zonegroup id + --rgw-zone= name of 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)