add missing options: --delay, --conffile
Signed-off-by: wangxinyu <wangxinyu@inspur.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
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
======================
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()