mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
Merge pull request #47139 from rishabh-d-dave/cephfs-top-man
doc/man/cephfs-top.rst: add missing options: --delay, --conffile Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com> Reviewed-by: Jos Collin <jcollin@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
This commit is contained in:
commit
68b9458aea
@ -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
|
||||
======================
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user