From 0800567d832910aeac2ba421a6c28c74857e06e6 Mon Sep 17 00:00:00 2001 From: Ushitora Anqou Date: Fri, 27 Aug 2021 07:44:43 +0000 Subject: [PATCH] rgw: fix document add the description of --show-config option in radosgw-admin Signed-off-by: Ushitora Anqou --- doc/man/8/radosgw-admin.rst | 4 ++++ src/rgw/rgw_admin.cc | 1 + src/test/cli/radosgw-admin/help.t | 1 + 3 files changed, 6 insertions(+) diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst index de879b219cf..1efc74148a1 100644 --- a/doc/man/8/radosgw-admin.rst +++ b/doc/man/8/radosgw-admin.rst @@ -789,6 +789,10 @@ Options Option for 'user stats' command. When specified, it will update user stats with the current stats reported by user's buckets indexes. +.. option:: --show-config + + Show configuration. + .. option:: --show-log-entries= Enable/disable dump of log entries on log show. diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 1f729727192..92ef5738c23 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -385,6 +385,7 @@ void usage() cout << " --sync-stats option to 'user stats', update user stats with current\n"; cout << " stats reported by user's buckets indexes\n"; cout << " --reset-stats option to 'user stats', reset stats in accordance with user buckets\n"; + cout << " --show-config show configuration\n"; cout << " --show-log-entries= enable/disable dump of log entries on log show\n"; cout << " --show-log-sum= enable/disable dump of log summation on log show\n"; cout << " --skip-zero-entries log show only dumps entries that don't have zero value\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index c63c63cb55e..79d3a1382bb 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -277,6 +277,7 @@ --sync-stats option to 'user stats', update user stats with current stats reported by user's buckets indexes --reset-stats option to 'user stats', reset stats in accordance with user buckets + --show-config show configuration --show-log-entries= enable/disable dump of log entries on log show --show-log-sum= enable/disable dump of log summation on log show --skip-zero-entries log show only dumps entries that don't have zero value -- 2.39.5