Commit 93782b67 authored by nimrod's avatar nimrod
Browse files

Update CLI usage.

parent 3c812e73
Loading
Loading
Loading
Loading
Loading
+17 −14
Original line number Diff line number Diff line
@@ -21,8 +21,7 @@ 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.

@@ -35,9 +34,13 @@ Usage
    -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
                          Command timeout (in seconds), defaults to 10

Usage as library
----------------