]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: align period/zone commands in radosgw-admin help
authorFarzan <farzan.eng@gmail.com>
Thu, 9 Apr 2026 09:53:14 +0000 (15:23 +0530)
committerFarzan <farzan.eng@gmail.com>
Tue, 21 Apr 2026 20:54:30 +0000 (02:24 +0530)
Update inline usage output to match the actual command table.

Replace period rm with period delete and zone rm with zone delete in \radosgw-admin --help, matching OPT::PERIOD_DELETE and OPT::ZONE_DELETE.

Signed-off-by: Farzan <farzan.eng@gmail.com>
src/rgw/radosgw-admin/radosgw-admin.cc

index 8c170273b2d969e43635719fff9fc68fe8932706..03c3f85a599fa17beb7a199109857d04aaed2662 100644 (file)
@@ -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";