]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man/cephfs-top.rst: add missing options: --delay, --conffile 47139/head
authorwangxinyu <wangxinyu@inspur.com>
Wed, 23 Mar 2022 01:21:36 +0000 (09:21 +0800)
committerRishabh Dave <ridave@redhat.com>
Tue, 19 Jul 2022 03:25:08 +0000 (08:55 +0530)
add missing options: --delay, --conffile

Signed-off-by: wangxinyu <wangxinyu@inspur.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
doc/man/8/cephfs-top.rst
src/tools/cephfs/top/cephfs-top

index c3719cd36fcd8fa48c0233b72600676547cdd6b6..e20579564d26915d9f10b88b998df66068a06165 100644 (file)
@@ -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
 ======================
 
index 9c5819583241b18ec4cc8419130533347095094f..256cd00d7b4afdeef05cc1dc9d71ecdb31e2b1d5 100755 (executable)
@@ -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()