diff --git a/README.rst b/README.rst index c7f6a542943a9b8b6748766878796a1beef76f23..40ea305ed08ecdd21899fd5e4f5d46991c9e9fd2 100644 --- a/README.rst +++ b/README.rst @@ -21,23 +21,26 @@ Usage .. code:: shell - usage: mnpw [-h] [-v] [-V] [-d] [-t TIMEOUT] - command [arguments [arguments ...]] + usage: mnpw [-h] [-v] [-V] [-d] [-q] [-w] [-u] [-e] [-t TIMEOUT] command [arguments ...] - My Nagios plugin wrapper. + My Nagios plugin wrapper. - positional arguments: - command Plugin command - arguments Command arguments + positional arguments: + command Plugin command + arguments Command arguments - optional arguments: - -h, --help show this help message and exit - -v, --verbose Verbose output - -V, --version show program's version number and exit - -d, --dry-run Dry-run, don't notify - -t TIMEOUT, --timeout TIMEOUT - Command timeout (in seconds), defaults to - 10 + optional arguments: + -h, --help show this help message and exit + -v, --verbose Verbose output + -V, --version show program's version number and exit + -d, --dry-run Dry-run, don't notify + -q, --quiet, --silent + No output, except for errors. + -w, --warn Notify when the check status is WARNING. + -u, --unknown Notify when the check status is UNKNOWN. + -e, --errors Notify on check errors. + -t TIMEOUT, --timeout TIMEOUT + Command timeout (in seconds), defaults to 10 Usage as library ----------------