From a28fe02c933e2ec7ea969a974f961769052e9d38 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 26 Apr 2016 15:20:45 -0400 Subject: [PATCH] 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) --- src/rgw/rgw_admin.cc | 3 ++- src/test/cli/radosgw-admin/help.t | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 3e4bcba2790b6..641ca1f2e6e40 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 5867f00c6349c..d15b0268c0033 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)