Merge PR #51158 into main

* refs/pull/51158/head:
	cephfs-top: fix help text for delay

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
Venky Shankar 2023-05-02 12:17:28 +05:30
commit 1d423ed9e8

View File

@ -1192,11 +1192,11 @@ if __name__ == '__main__':
help='Path to cluster configuration file')
parser.add_argument('--selftest', dest='selftest', action='store_true',
help='Run in selftest mode')
parser.add_argument('-d', '--delay', dest='delay', choices=range(1, 26),
parser.add_argument('-d', '--delay', metavar='DELAY', dest='delay', choices=range(1, 26),
default=DEFAULT_REFRESH_INTERVAL,
type=int,
help='Refresh interval in seconds '
f'(default: {DEFAULT_REFRESH_INTERVAL})')
f'(default: {DEFAULT_REFRESH_INTERVAL}, range: 1 - 25)')
parser.add_argument('--dump', dest='dump', action='store_true',
help='Dump the metrics to stdout')
parser.add_argument('--dumpfs', action='append',