diff options
Diffstat (limited to 'plugins')
39 files changed, 39 insertions, 39 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c index 14804943..7efa596b 100644 --- a/plugins/check_apt.c +++ b/plugins/check_apt.c | |||
@@ -461,6 +461,6 @@ print_help (void) | |||
461 | void | 461 | void |
462 | print_usage(void) | 462 | print_usage(void) |
463 | { | 463 | { |
464 | printf (_("Usage:")); | 464 | printf ("%s\n", _("Usage:")); |
465 | printf ("%s [[-d|-u|-U]opts] [-n] [-t timeout]\n", progname); | 465 | printf ("%s [[-d|-u|-U]opts] [-n] [-t timeout]\n", progname); |
466 | } | 466 | } |
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index a569c195..ff27b396 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -450,7 +450,7 @@ print_help (void) | |||
450 | void | 450 | void |
451 | print_usage (void) | 451 | print_usage (void) |
452 | { | 452 | { |
453 | printf (_("Usage:")); | 453 | printf ("%s\n", _("Usage:")); |
454 | printf (" %s -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]\n" | 454 | printf (" %s -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]\n" |
455 | " [-S [lines]] [-E [lines]] [-t timeout] [-i identity]\n" | 455 | " [-S [lines]] [-E [lines]] [-t timeout] [-i identity]\n" |
456 | " [-l user] [-n name] [-s servicelist] [-O outputfile]\n" | 456 | " [-l user] [-n name] [-s servicelist] [-O outputfile]\n" |
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c index fe497d40..d4e39e0f 100644 --- a/plugins/check_cluster.c +++ b/plugins/check_cluster.c | |||
@@ -271,7 +271,7 @@ void | |||
271 | print_usage(void) | 271 | print_usage(void) |
272 | { | 272 | { |
273 | 273 | ||
274 | printf(_("Usage:")); | 274 | printf("%s\n", _("Usage:")); |
275 | printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname); | 275 | printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname); |
276 | printf("[-w threshold] [-c threshold] [-v] [--help]\n"); | 276 | printf("[-w threshold] [-c threshold] [-v] [--help]\n"); |
277 | 277 | ||
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index 6f4d8e77..06f59c80 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -351,7 +351,7 @@ print_help (void) | |||
351 | void | 351 | void |
352 | print_usage (void) | 352 | print_usage (void) |
353 | { | 353 | { |
354 | printf (_("Usage:")); | 354 | printf ("%s\n", _("Usage:")); |
355 | printf ("%s -l <query_address> [-H <host>] [-p <server port>]\n", progname); | 355 | printf ("%s -l <query_address> [-H <host>] [-p <server port>]\n", progname); |
356 | printf (" [-T <query type>] [-w <warning interval>] [-c <critical interval>]\n"); | 356 | printf (" [-T <query type>] [-w <warning interval>] [-c <critical interval>]\n"); |
357 | printf (" [-t <timeout>] [-a <expected answer address>] [-v]\n"); | 357 | printf (" [-t <timeout>] [-a <expected answer address>] [-v]\n"); |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index f2ed983b..49136255 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -977,7 +977,7 @@ print_help (void) | |||
977 | void | 977 | void |
978 | print_usage (void) | 978 | print_usage (void) |
979 | { | 979 | { |
980 | printf (_("Usage:")); | 980 | printf ("%s\n", _("Usage:")); |
981 | printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname); | 981 | printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname); |
982 | printf ("[-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); | 982 | printf ("[-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); |
983 | printf ("[-t timeout] [-u unit] [-v] [-X type]\n"); | 983 | printf ("[-t timeout] [-u unit] [-v] [-X type]\n"); |
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 43167122..73b560ca 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -483,6 +483,6 @@ print_help (void) | |||
483 | void | 483 | void |
484 | print_usage (void) | 484 | print_usage (void) |
485 | { | 485 | { |
486 | printf (_("Usage:")); | 486 | printf ("%s\n", _("Usage:")); |
487 | printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname); | 487 | printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname); |
488 | } | 488 | } |
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index e72bf30b..3cfc9ede 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c | |||
@@ -119,6 +119,6 @@ print_help (void) | |||
119 | void | 119 | void |
120 | print_usage (void) | 120 | print_usage (void) |
121 | { | 121 | { |
122 | printf (_("Usage:")); | 122 | printf ("%s\n", _("Usage:")); |
123 | printf (" %s <integer state> [optional text]\n", progname); | 123 | printf (" %s <integer state> [optional text]\n", progname); |
124 | } | 124 | } |
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index d2c945dd..dd3f86d1 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
@@ -429,6 +429,6 @@ print_help (void) | |||
429 | void | 429 | void |
430 | print_usage (void) | 430 | print_usage (void) |
431 | { | 431 | { |
432 | printf (_("Usage:")); | 432 | printf ("%s\n", _("Usage:")); |
433 | printf (" %s <host_address> -w limit -c limit [-b size] [-n number] [-T number] [-i number]\n", progname); | 433 | printf (" %s <host_address> -w limit -c limit [-b size] [-n number] [-T number] [-i number]\n", progname); |
434 | } | 434 | } |
diff --git a/plugins/check_game.c b/plugins/check_game.c index 815c72d6..5496c4dc 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c | |||
@@ -328,7 +328,7 @@ print_help (void) | |||
328 | void | 328 | void |
329 | print_usage (void) | 329 | print_usage (void) |
330 | { | 330 | { |
331 | printf (_("Usage:")); | 331 | printf ("%s\n", _("Usage:")); |
332 | printf (" %s [-hvV] [-P port] [-t timeout] [-g game_field] [-m map_field] [-p ping_field] [-G game-time] [-H hostname] <game> <ip_address>\n", progname); | 332 | printf (" %s [-hvV] [-P port] [-t timeout] [-g game_field] [-m map_field] [-p ping_field] [-G game-time] [-H hostname] <game> <ip_address>\n", progname); |
333 | } | 333 | } |
334 | 334 | ||
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index 97411d18..51a0099a 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
@@ -411,6 +411,6 @@ print_help (void) | |||
411 | void | 411 | void |
412 | print_usage (void) | 412 | print_usage (void) |
413 | { | 413 | { |
414 | printf (_("Usage:")); | 414 | printf ("%s\n", _("Usage:")); |
415 | printf ("%s -H host [-C community]\n", progname); | 415 | printf ("%s -H host [-C community]\n", progname); |
416 | } | 416 | } |
diff --git a/plugins/check_http.c b/plugins/check_http.c index a21669c0..7f773c83 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1430,7 +1430,7 @@ print_help (void) | |||
1430 | void | 1430 | void |
1431 | print_usage (void) | 1431 | print_usage (void) |
1432 | { | 1432 | { |
1433 | printf (_("Usage:")); | 1433 | printf ("%s\n", _("Usage:")); |
1434 | printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname); | 1434 | printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname); |
1435 | printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]\n"); | 1435 | printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]\n"); |
1436 | printf (" [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]\n"); | 1436 | printf (" [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]\n"); |
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index b0517395..b942461b 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
@@ -524,7 +524,7 @@ print_help (void) | |||
524 | void | 524 | void |
525 | print_usage (void) | 525 | print_usage (void) |
526 | { | 526 | { |
527 | printf (_("Usage:")); | 527 | printf ("%s\n", _("Usage:")); |
528 | printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname); | 528 | printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname); |
529 | printf (" [-O <auto-off>] [-n <nagios>]\n"); | 529 | printf (" [-O <auto-off>] [-n <nagios>]\n"); |
530 | } | 530 | } |
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 11644a1f..b933ff28 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
@@ -449,7 +449,7 @@ print_help (void) | |||
449 | void | 449 | void |
450 | print_usage (void) | 450 | print_usage (void) |
451 | { | 451 | { |
452 | printf (_("Usage:")); | 452 | printf ("%s\n", _("Usage:")); |
453 | printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname); | 453 | printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname); |
454 | printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n", | 454 | printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n", |
455 | #ifdef HAVE_LDAP_SET_OPTION | 455 | #ifdef HAVE_LDAP_SET_OPTION |
diff --git a/plugins/check_load.c b/plugins/check_load.c index 99e2a15f..1bdb06aa 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c | |||
@@ -322,6 +322,6 @@ print_help (void) | |||
322 | void | 322 | void |
323 | print_usage (void) | 323 | print_usage (void) |
324 | { | 324 | { |
325 | printf (_("Usage:")); | 325 | printf ("%s\n", _("Usage:")); |
326 | printf ("%s [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15\n", progname); | 326 | printf ("%s [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15\n", progname); |
327 | } | 327 | } |
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 07013ee6..d6162f35 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -379,7 +379,7 @@ print_help (void) | |||
379 | void | 379 | void |
380 | print_usage (void) | 380 | print_usage (void) |
381 | { | 381 | { |
382 | printf (_("Usage:")); | 382 | printf ("%s\n", _("Usage:")); |
383 | printf ("%s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n",progname); | 383 | printf ("%s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n",progname); |
384 | printf ("[-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n"); | 384 | printf ("[-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n"); |
385 | } | 385 | } |
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index b3caf4b5..d9b4e537 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c | |||
@@ -422,7 +422,7 @@ print_help (void) | |||
422 | void | 422 | void |
423 | print_usage (void) | 423 | print_usage (void) |
424 | { | 424 | { |
425 | printf (_("Usage:")); | 425 | printf ("%s\n", _("Usage:")); |
426 | printf (" %s [-d database] [-H host] [-P port] [-s socket]\n",progname); | 426 | printf (" %s [-d database] [-H host] [-P port] [-s socket]\n",progname); |
427 | printf (" [-u user] [-p password] [-S]\n"); | 427 | printf (" [-u user] [-p password] [-S]\n"); |
428 | } | 428 | } |
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index cae47187..cf9d8dfb 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c | |||
@@ -322,7 +322,7 @@ print_help (void) | |||
322 | void | 322 | void |
323 | print_usage (void) | 323 | print_usage (void) |
324 | { | 324 | { |
325 | printf (_("Usage:")); | 325 | printf ("%s\n", _("Usage:")); |
326 | printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname); | 326 | printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname); |
327 | printf (" [-d database] [-u user] [-p password]\n"); | 327 | printf (" [-d database] [-u user] [-p password]\n"); |
328 | } | 328 | } |
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index 1a809164..6485aa9a 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c | |||
@@ -310,6 +310,6 @@ print_help (void) | |||
310 | void | 310 | void |
311 | print_usage (void) | 311 | print_usage (void) |
312 | { | 312 | { |
313 | printf (_("Usage:")); | 313 | printf ("%s\n", _("Usage:")); |
314 | printf ("%s -F <status log file> -e <expire_minutes> -C <process_string>\n", progname); | 314 | printf ("%s -F <status log file> -e <expire_minutes> -C <process_string>\n", progname); |
315 | } | 315 | } |
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index e4d64e8f..32d4ff6c 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c | |||
@@ -756,7 +756,7 @@ void print_help(void) | |||
756 | 756 | ||
757 | void print_usage(void) | 757 | void print_usage(void) |
758 | { | 758 | { |
759 | printf (_("Usage:")); | 759 | printf ("%s\n", _("Usage:")); |
760 | printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]\n",progname); | 760 | printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]\n",progname); |
761 | printf ("[-l params] [-d SHOWALL] [-u] [-t timeout]\n"); | 761 | printf ("[-l params] [-d SHOWALL] [-u] [-t timeout]\n"); |
762 | } | 762 | } |
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index e752bd9f..ac89def7 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -880,6 +880,6 @@ print_usage(void) | |||
880 | { | 880 | { |
881 | printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or")); | 881 | printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or")); |
882 | printf ("%s\n\n", _("check_ntp_time instead.")); | 882 | printf ("%s\n\n", _("check_ntp_time instead.")); |
883 | printf (_("Usage:")); | 883 | printf ("%s\n", _("Usage:")); |
884 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-v verbose]\n", progname); | 884 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-v verbose]\n", progname); |
885 | } | 885 | } |
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index abe91a52..62ac9aed 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
@@ -715,7 +715,7 @@ void print_help(void){ | |||
715 | void | 715 | void |
716 | print_usage(void) | 716 | print_usage(void) |
717 | { | 717 | { |
718 | printf (_("Usage:")); | 718 | printf ("%s\n", _("Usage:")); |
719 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname); | 719 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname); |
720 | printf(" [-j <warn>] [-k <crit>] [-v verbose]\n"); | 720 | printf(" [-j <warn>] [-k <crit>] [-v verbose]\n"); |
721 | } | 721 | } |
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 1ea3e893..f0f74b4e 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
@@ -634,7 +634,7 @@ void print_help(void){ | |||
634 | void | 634 | void |
635 | print_usage(void) | 635 | print_usage(void) |
636 | { | 636 | { |
637 | printf (_("Usage:")); | 637 | printf ("%s\n", _("Usage:")); |
638 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname); | 638 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname); |
639 | } | 639 | } |
640 | 640 | ||
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c index 6e092867..81c55752 100644 --- a/plugins/check_nwstat.c +++ b/plugins/check_nwstat.c | |||
@@ -1682,6 +1682,6 @@ void print_help(void) | |||
1682 | 1682 | ||
1683 | void print_usage(void) | 1683 | void print_usage(void) |
1684 | { | 1684 | { |
1685 | printf (_("Usage:")); | 1685 | printf ("%s\n", _("Usage:")); |
1686 | printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n",progname); | 1686 | printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n",progname); |
1687 | } | 1687 | } |
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index 606799f1..16ada20d 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c | |||
@@ -464,6 +464,6 @@ print_help (void) | |||
464 | void | 464 | void |
465 | print_usage (void) | 465 | print_usage (void) |
466 | { | 466 | { |
467 | printf (_("Usage:")); | 467 | printf ("%s\n", _("Usage:")); |
468 | printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n", progname); | 468 | printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n", progname); |
469 | } | 469 | } |
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 06e1127b..19c3117d 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
@@ -474,7 +474,7 @@ print_help (void) | |||
474 | void | 474 | void |
475 | print_usage (void) | 475 | print_usage (void) |
476 | { | 476 | { |
477 | printf (_("Usage:")); | 477 | printf ("%s\n", _("Usage:")); |
478 | printf ("%s [-H <host>] [-P <port>] [-c <critical time>] [-w <warning time>]\n", progname); | 478 | printf ("%s [-H <host>] [-P <port>] [-c <critical time>] [-w <warning time>]\n", progname); |
479 | printf (" [-t <timeout>] [-d <database>] [-l <logname>] [-p <password>]\n"); | 479 | printf (" [-t <timeout>] [-d <database>] [-l <logname>] [-p <password>]\n"); |
480 | } | 480 | } |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index db8e623f..ecdd6183 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -598,7 +598,7 @@ print_help (void) | |||
598 | void | 598 | void |
599 | print_usage (void) | 599 | print_usage (void) |
600 | { | 600 | { |
601 | printf (_("Usage:")); | 601 | printf ("%s\n", _("Usage:")); |
602 | printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname); | 602 | printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname); |
603 | printf (" [-p packets] [-t timeout] [-4|-6]\n"); | 603 | printf (" [-p packets] [-t timeout] [-4|-6]\n"); |
604 | } | 604 | } |
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 8655f6a3..2151fb38 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -757,7 +757,7 @@ be the total number of running processes\n\n")); | |||
757 | void | 757 | void |
758 | print_usage (void) | 758 | print_usage (void) |
759 | { | 759 | { |
760 | printf (_("Usage: ")); | 760 | printf ("%s\n", _("Usage:")); |
761 | printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname); | 761 | printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname); |
762 | printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n"); | 762 | printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n"); |
763 | printf (" [-C command] [-t timeout] [-v]\n"); | 763 | printf (" [-C command] [-t timeout] [-v]\n"); |
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index d5907dde..61d84fb8 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c | |||
@@ -382,7 +382,7 @@ print_help (void) | |||
382 | void | 382 | void |
383 | print_usage (void) | 383 | print_usage (void) |
384 | { | 384 | { |
385 | printf (_("Usage:")); | 385 | printf ("%s\n", _("Usage:")); |
386 | printf ("%s -H host -F config_file -u username -p password\n\ | 386 | printf ("%s -H host -F config_file -u username -p password\n\ |
387 | [-P port] [-t timeout] [-r retries] [-e expect]\n\ | 387 | [-P port] [-t timeout] [-r retries] [-e expect]\n\ |
388 | [-n nas-id] [-N nas-ip-addr]\n", progname); | 388 | [-n nas-id] [-N nas-ip-addr]\n", progname); |
diff --git a/plugins/check_real.c b/plugins/check_real.c index 1f8ae429..d67e1904 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c | |||
@@ -448,6 +448,6 @@ print_help (void) | |||
448 | void | 448 | void |
449 | print_usage (void) | 449 | print_usage (void) |
450 | { | 450 | { |
451 | printf (_("Usage:")); | 451 | printf ("%s\n", _("Usage:")); |
452 | printf ("%s -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v]\n", progname); | 452 | printf ("%s -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v]\n", progname); |
453 | } | 453 | } |
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 6707ec53..b7028e6c 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -816,7 +816,7 @@ print_help (void) | |||
816 | void | 816 | void |
817 | print_usage (void) | 817 | print_usage (void) |
818 | { | 818 | { |
819 | printf (_("Usage:")); | 819 | printf ("%s\n", _("Usage:")); |
820 | printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname); | 820 | printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname); |
821 | printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n"); | 821 | printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n"); |
822 | printf ("[-S] [-D days] [-v] [-4|-6]\n"); | 822 | printf ("[-S] [-D days] [-v] [-4|-6]\n"); |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 3f0deb70..2bc6024f 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -953,7 +953,7 @@ print_help (void) | |||
953 | void | 953 | void |
954 | print_usage (void) | 954 | print_usage (void) |
955 | { | 955 | { |
956 | printf (_("Usage:")); | 956 | printf ("%s\n", _("Usage:")); |
957 | printf ("%s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]\n",progname); | 957 | printf ("%s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]\n",progname); |
958 | printf ("[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]\n"); | 958 | printf ("[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]\n"); |
959 | printf ("[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]\n"); | 959 | printf ("[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]\n"); |
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index b9b8a2d3..2509b860 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -299,7 +299,7 @@ print_help (void) | |||
299 | void | 299 | void |
300 | print_usage (void) | 300 | print_usage (void) |
301 | { | 301 | { |
302 | printf (_("Usage:")); | 302 | printf ("%s\n", _("Usage:")); |
303 | printf ("%s [-46] [-t <timeout>] [-r <remote version>] [-p <port>] <host>\n", progname); | 303 | printf ("%s [-46] [-t <timeout>] [-r <remote version>] [-p <port>] <host>\n", progname); |
304 | } | 304 | } |
305 | 305 | ||
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index c5682d78..ce1f6022 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
@@ -555,7 +555,7 @@ print_help (void) | |||
555 | void | 555 | void |
556 | print_usage (void) | 556 | print_usage (void) |
557 | { | 557 | { |
558 | printf (_("Usage:")); | 558 | printf ("%s\n", _("Usage:")); |
559 | printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname); | 559 | printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname); |
560 | printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname); | 560 | printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname); |
561 | } | 561 | } |
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 555b8b9a..178bd568 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -648,7 +648,7 @@ print_help (void) | |||
648 | void | 648 | void |
649 | print_usage (void) | 649 | print_usage (void) |
650 | { | 650 | { |
651 | printf (_("Usage:")); | 651 | printf ("%s\n", _("Usage:")); |
652 | printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname); | 652 | printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname); |
653 | printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n"); | 653 | printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n"); |
654 | printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n"); | 654 | printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n"); |
diff --git a/plugins/check_time.c b/plugins/check_time.c index 9e81d9ee..3dcc662c 100644 --- a/plugins/check_time.c +++ b/plugins/check_time.c | |||
@@ -368,7 +368,7 @@ print_help (void) | |||
368 | void | 368 | void |
369 | print_usage (void) | 369 | print_usage (void) |
370 | { | 370 | { |
371 | printf (_("Usage:")); | 371 | printf ("%s\n", _("Usage:")); |
372 | printf ("%s -H <host_address> [-p port] [-u] [-w variance] [-c variance]\n",progname); | 372 | printf ("%s -H <host_address> [-p port] [-u] [-w variance] [-c variance]\n",progname); |
373 | printf (" [-W connect_time] [-C connect_time] [-t timeout]\n"); | 373 | printf (" [-W connect_time] [-C connect_time] [-t timeout]\n"); |
374 | } | 374 | } |
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index aef8e116..30c9357a 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -657,6 +657,6 @@ print_help (void) | |||
657 | void | 657 | void |
658 | print_usage (void) | 658 | print_usage (void) |
659 | { | 659 | { |
660 | printf (_("Usage:")); | 660 | printf ("%s\n", _("Usage:")); |
661 | printf ("%s -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]\n", progname); | 661 | printf ("%s -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]\n", progname); |
662 | } | 662 | } |
diff --git a/plugins/check_users.c b/plugins/check_users.c index 061c2fe9..8368612a 100644 --- a/plugins/check_users.c +++ b/plugins/check_users.c | |||
@@ -226,6 +226,6 @@ print_help (void) | |||
226 | void | 226 | void |
227 | print_usage (void) | 227 | print_usage (void) |
228 | { | 228 | { |
229 | printf (_("Usage:")); | 229 | printf ("%s\n", _("Usage:")); |
230 | printf ("%s -w <users> -c <users>\n", progname); | 230 | printf ("%s -w <users> -c <users>\n", progname); |
231 | } | 231 | } |
diff --git a/plugins/negate.c b/plugins/negate.c index 869b9d9d..96f45578 100644 --- a/plugins/negate.c +++ b/plugins/negate.c | |||
@@ -289,6 +289,6 @@ print_help (void) | |||
289 | void | 289 | void |
290 | print_usage (void) | 290 | print_usage (void) |
291 | { | 291 | { |
292 | printf (_("Usage:")); | 292 | printf ("%s\n", _("Usage:")); |
293 | printf ("%s [-t timeout] [-Towcu STATE] [-s] <definition of wrapped plugin>\n", progname); | 293 | printf ("%s [-t timeout] [-Towcu STATE] [-s] <definition of wrapped plugin>\n", progname); |
294 | } | 294 | } |
diff --git a/plugins/urlize.c b/plugins/urlize.c index 5fb3aca0..6bb42db0 100644 --- a/plugins/urlize.c +++ b/plugins/urlize.c | |||
@@ -194,6 +194,6 @@ print_help (void) | |||
194 | void | 194 | void |
195 | print_usage (void) | 195 | print_usage (void) |
196 | { | 196 | { |
197 | printf (_("Usage:")); | 197 | printf ("%s\n", _("Usage:")); |
198 | printf ("%s <url> <plugin> <arg1> ... <argN>\n", progname); | 198 | printf ("%s <url> <plugin> <arg1> ... <argN>\n", progname); |
199 | } | 199 | } |