From: Abhishek Lekshmanan Date: Thu, 17 Mar 2016 14:07:23 +0000 (+0100) Subject: rgw: add zone delete to rgw-admin help X-Git-Tag: v10.1.1~126^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8184%2Fhead;p=ceph.git rgw: add zone delete to rgw-admin help This operation is already implemented (OPT_ZONE_DELETE), however not mentioned in the help, just adding to the help options Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 9dc803b1161f..806798496612 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -108,6 +108,7 @@ void _usage() cout << " zonegroup-map get show zonegroup-map\n"; cout << " zonegroup-map set set zonegroup-map (requires infile)\n"; cout << " zone create create a new zone\n"; + cout << " zone delete delete a zone\n"; cout << " zone get show zone cluster params\n"; cout << " zone modify set/clear zone master status\n"; cout << " zone set set zone cluster params (requires infile)\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 587317af35d2..37523c9af8ca 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -60,6 +60,7 @@ zonegroup-map get show zonegroup-map zonegroup-map set set zonegroup-map (requires infile) zone create create a new zone + zone delete delete a zone zone get show zone cluster params zone modify set/clear zone master status zone set set zone cluster params (requires infile)