diff options
Diffstat (limited to 'plugins/check_mrtgtraf.c')
-rw-r--r-- | plugins/check_mrtgtraf.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index b9716164..1911d568 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c | |||
@@ -223,13 +223,11 @@ process_arguments (int argc, char **argv) | |||
223 | 223 | ||
224 | int option = 0; | 224 | int option = 0; |
225 | static struct option longopts[] = { | 225 | static struct option longopts[] = { |
226 | {"logfile", required_argument, 0, 'F'}, | 226 | {"filename", required_argument, 0, 'F'}, |
227 | {"expires", required_argument, 0, 'e'}, | 227 | {"expires", required_argument, 0, 'e'}, |
228 | {"aggregation", required_argument, 0, 'a'}, | 228 | {"aggregation", required_argument, 0, 'a'}, |
229 | {"variable", required_argument, 0, 'v'}, | ||
230 | {"critical", required_argument, 0, 'c'}, | 229 | {"critical", required_argument, 0, 'c'}, |
231 | {"warning", required_argument, 0, 'w'}, | 230 | {"warning", required_argument, 0, 'w'}, |
232 | {"verbose", no_argument, 0, 'v'}, | ||
233 | {"version", no_argument, 0, 'V'}, | 231 | {"version", no_argument, 0, 'V'}, |
234 | {"help", no_argument, 0, 'h'}, | 232 | {"help", no_argument, 0, 'h'}, |
235 | {0, 0, 0, 0} | 233 | {0, 0, 0, 0} |
@@ -385,6 +383,6 @@ void | |||
385 | print_usage (void) | 383 | print_usage (void) |
386 | { | 384 | { |
387 | printf (_("Usage")); | 385 | printf (_("Usage")); |
388 | printf (" %s -F <log_file> -a <AVG | MAX> -v <variable> -w <warning_pair>",progname); | 386 | printf (" %s -F <log_file> -a <AVG | MAX> -w <warning_pair>\n",progname); |
389 | printf ("-c <critical_pair> [-e expire_minutes] [-t timeout] [-v]\n"); | 387 | printf ("-c <critical_pair> [-e expire_minutes]\n"); |
390 | } | 388 | } |