From: wangxinyu Date: Wed, 23 Mar 2022 01:21:36 +0000 (+0800) Subject: doc/man/cephfs-top.rst: add missing options: --delay, --conffile X-Git-Tag: v18.0.0~479^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F47139%2Fhead;p=ceph.git doc/man/cephfs-top.rst: add missing options: --delay, --conffile add missing options: --delay, --conffile Signed-off-by: wangxinyu Signed-off-by: Rishabh Dave --- diff --git a/doc/man/8/cephfs-top.rst b/doc/man/8/cephfs-top.rst index c3719cd36fc..e20579564d2 100644 --- a/doc/man/8/cephfs-top.rst +++ b/doc/man/8/cephfs-top.rst @@ -36,6 +36,14 @@ Options Perform a selftest. This mode performs a sanity check of ``stats`` module. +.. option:: --conffile [CONFFILE] + + Path to cluster configuration file + +.. option:: -d [DELAY], --delay [DELAY] + + Refresh interval in seconds (default: 1) + Descriptions of fields ====================== diff --git a/src/tools/cephfs/top/cephfs-top b/src/tools/cephfs/top/cephfs-top index 9c581958324..256cd00d7b4 100755 --- a/src/tools/cephfs/top/cephfs-top +++ b/src/tools/cephfs/top/cephfs-top @@ -601,7 +601,7 @@ if __name__ == '__main__': parser.add_argument('--selftest', dest='selftest', action='store_true', help='Run in selftest mode') parser.add_argument('-d', '--delay', nargs='?', default=DEFAULT_REFRESH_INTERVAL, - type=float_greater_than, help='Interval to refresh data ' + type=float_greater_than, help='Refresh interval in seconds ' f'(default: {DEFAULT_REFRESH_INTERVAL})') args = parser.parse_args()