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:
Jos Collin 2022-07-19 13:15:40 +05:30 committed by GitHub
commit 68b9458aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View 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
======================

View File

@ -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()