From e0a25e59d0d819e9556058b65c577bad19abb411 Mon Sep 17 00:00:00 2001 From: Zhipeng Li Date: Wed, 31 Jan 2024 16:59:58 +0800 Subject: [PATCH] rgw: add help info for radosgw-admin list object in bucket Fixes:https://tracker.ceph.com/issues/64264 Signed-off-by: Zhipeng Li --- src/rgw/rgw_admin.cc | 3 +++ src/test/cli/radosgw-admin/help.t | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 3d817c6039bf8..48741272496f0 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -489,6 +489,9 @@ void usage() cout << "\nradoslist options:\n"; cout << " --rgw-obj-fs the field separator that will separate the rados object name from the rgw object name;\n"; cout << " additionally rados objects for incomplete multipart uploads will not be output\n"; + cout << "\nBucket list objects options:\n"; + cout << " --max-entries max number of entries listed (default 1000)\n"; + cout << " --marker the marker used to specify on which entry the listing begins, default none (i.e., very first entry)\n"; cout << "\n"; generic_client_usage(); } diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 8f6fc36190ccb..295a599dca1d4 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -369,6 +369,10 @@ --rgw-obj-fs the field separator that will separate the rados object name from the rgw object name; additionally rados objects for incomplete multipart uploads will not be output + Bucket list objects options: + --max-entries max number of entries listed (default 1000) + --marker the marker used to specify on which entry the listing begins, default none (i.e., very first entry) + --conf/-c FILE read configuration from the given configuration file --id ID set ID portion of my name --name/-n TYPE.ID set name -- 2.39.5