From: Farzan Date: Thu, 9 Apr 2026 09:53:14 +0000 (+0530) Subject: rgw: align period/zone commands in radosgw-admin help X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f3af3cf34a0b90428277d27622a6902365158d2a;p=ceph.git rgw: align period/zone commands in radosgw-admin help Update inline usage output to match the actual command table. Replace period rm with period delete and zone rm with zone delete in adosgw-admin --help, matching OPT::PERIOD_DELETE and OPT::ZONE_DELETE. Signed-off-by: Farzan --- diff --git a/src/rgw/radosgw-admin/radosgw-admin.cc b/src/rgw/radosgw-admin/radosgw-admin.cc index 8c170273b2d9..03c3f85a599f 100644 --- a/src/rgw/radosgw-admin/radosgw-admin.cc +++ b/src/rgw/radosgw-admin/radosgw-admin.cc @@ -207,7 +207,7 @@ void usage() cout << " objects expire run expired objects cleanup\n"; cout << " objects expire-stale list list stale expired objects (caused by reshard)\n"; cout << " objects expire-stale rm remove stale expired objects\n"; - cout << " period rm remove a period\n"; + cout << " period delete remove a period\n"; cout << " period get get period info\n"; cout << " period get-current get current period info\n"; cout << " period pull pull a period\n"; @@ -258,7 +258,7 @@ void usage() cout << " zonegroup placement rm remove a placement target from a zonegroup\n"; cout << " zonegroup placement default set a zonegroup's default placement target\n"; cout << " zone create create a new zone\n"; - cout << " zone rm remove a zone\n"; + cout << " zone delete remove a zone\n"; cout << " zone get show zone cluster params\n"; cout << " zone modify modify an existing zone\n"; cout << " zone set set zone cluster params (requires infile)\n";