From: Zhipeng Li Date: Wed, 31 Jan 2024 08:59:58 +0000 (+0800) Subject: rgw: add help info for radosgw-admin list object in bucket X-Git-Tag: v20.0.0~2448^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55390%2Fhead;p=ceph.git rgw: add help info for radosgw-admin list object in bucket Fixes:https://tracker.ceph.com/issues/64264 Signed-off-by: Zhipeng Li --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 3d817c6039bf..48741272496f 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 8f6fc36190cc..295a599dca1d 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