Code

Add newline after "Usage:" in --help
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Thu, 22 Apr 2010 12:57:14 +0000 (08:57 -0400)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Thu, 22 Apr 2010 12:57:14 +0000 (08:57 -0400)
41 files changed:
plugins-root/check_dhcp.c
plugins-root/check_icmp.c
plugins/check_apt.c
plugins/check_by_ssh.c
plugins/check_cluster.c
plugins/check_dig.c
plugins/check_disk.c
plugins/check_dns.c
plugins/check_dummy.c
plugins/check_fping.c
plugins/check_game.c
plugins/check_hpjd.c
plugins/check_http.c
plugins/check_ide_smart.c
plugins/check_ldap.c
plugins/check_load.c
plugins/check_mrtg.c
plugins/check_mysql.c
plugins/check_mysql_query.c
plugins/check_nagios.c
plugins/check_nt.c
plugins/check_ntp.c
plugins/check_ntp_peer.c
plugins/check_ntp_time.c
plugins/check_nwstat.c
plugins/check_overcr.c
plugins/check_pgsql.c
plugins/check_ping.c
plugins/check_procs.c
plugins/check_radius.c
plugins/check_real.c
plugins/check_smtp.c
plugins/check_snmp.c
plugins/check_ssh.c
plugins/check_swap.c
plugins/check_tcp.c
plugins/check_time.c
plugins/check_ups.c
plugins/check_users.c
plugins/negate.c
plugins/urlize.c

index ba35197ef96bf9b1d9557ea46b9e13a26839211c..2a1875c405431048c3099a5ec8834ffd72599dcd 100644 (file)
@@ -1418,7 +1418,7 @@ void print_help(void){
 void
 print_usage(void){
 
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s [-v] [-u] [-s serverip] [-r requestedip] [-t timeout]\n",progname);
   printf ("                  [-i interface] [-m mac]\n");
 
index 5f0224d54ec863317aa113bd9f1d3fed8a7076a3..6d8ba09980a141848e2c21d6441ec4c9aa1617ce 100644 (file)
@@ -1344,6 +1344,6 @@ print_help(void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf(" %s [options] [-H] host1 host2 hostN\n", progname);
 }
index 148049434133af5fc8603c18c3a2d8de63f2e9e9..7efa596b278bcab9bbe893b76499da4fe9c27dad 100644 (file)
@@ -461,6 +461,6 @@ print_help (void)
 void
 print_usage(void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf ("%s [[-d|-u|-U]opts] [-n] [-t timeout]\n", progname);
 }
index a569c195ccf1a679dc2a2293091d4d2420e759b0..ff27b396c9dced56da8d2058f47811205e6ad126 100644 (file)
@@ -450,7 +450,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf (" %s -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]\n"
                "       [-S [lines]] [-E [lines]] [-t timeout] [-i identity]\n"
                "       [-l user] [-n name] [-s servicelist] [-O outputfile]\n"
index fe497d401834e4d9552898e3661831a63c189fe2..d4e39e0f37db71a84d392743de179c4e697eef90 100644 (file)
@@ -271,7 +271,7 @@ void
 print_usage(void)
 {
 
-       printf(_("Usage:"));
+       printf("%s\n", _("Usage:"));
        printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname);
        printf("[-w threshold] [-c threshold] [-v] [--help]\n");
 
index 6f4d8e77f52734b986c7d14dba4fa70918bfdf7f..06f59c80ba2058b328894c6ef743d05ef60bf5e3 100644 (file)
@@ -351,7 +351,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf ("%s -l <query_address> [-H <host>] [-p <server port>]\n", progname);
   printf (" [-T <query type>] [-w <warning interval>] [-c <critical interval>]\n");
   printf (" [-t <timeout>] [-a <expected answer address>] [-v]\n");
index f2ed983bfb97320f3666b3f011a60eef58b8a3e9..49136255eba27f4d93f8f08a879b524e87570b12 100644 (file)
@@ -977,7 +977,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname);
   printf ("[-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n");
   printf ("[-t timeout] [-u unit] [-v] [-X type]\n");
index 43167122e11430b24cc07c4d5fdfd4827e921d2a..73b560ca665af001e16e211c1fec87cf5cda4548 100644 (file)
@@ -483,6 +483,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname);
 }
index e72bf30bbfa4bffb27c2d3979d9bc528607bf9cd..3cfc9ede43c4f1360bec587b268470ebeab99ea8 100644 (file)
@@ -119,6 +119,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s <integer state> [optional text]\n", progname);
 }
index d2c945dd3138008e12f3c7f4d235a2eb9fb3077c..dd3f86d12b1a35cd2b4b06e1933503ac272d1ab6 100644 (file)
@@ -429,6 +429,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s <host_address> -w limit -c limit [-b size] [-n number] [-T number] [-i number]\n", progname);
 }
index 815c72d610c33e2bfe29b731af218378ad67ffc0..5496c4dc5f3cb9580784457f81265cc8df9971a4 100644 (file)
@@ -328,7 +328,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   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);
 }
 
index 97411d184c96c179406daac9a6758dfbb6fdf2ad..51a0099ac281e9272a0e079dd96df0974af56b89 100644 (file)
@@ -411,6 +411,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host [-C community]\n", progname);
 }
index a21669c05c747798f3deecd67d027ead572bd17b..7f773c83fd5a4aaa3f6c947133ff3d7a5eb7d7df 100644 (file)
@@ -1430,7 +1430,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
   printf ("       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]\n");
   printf ("       [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]\n");
index b0517395bd7575c21982f1bc38433eec112bfcce..b942461b25e621b9dca005a30b40c3e5efc6c3ab 100644 (file)
@@ -524,7 +524,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname);
   printf (" [-O <auto-off>] [-n <nagios>]\n");
 }
index 11644a1fb96d68e4c192461f5b30bcef7b27fde2..b933ff280666b17f55515dc877ec232982ce2424 100644 (file)
@@ -449,7 +449,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname);
   printf ("\n       [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
 #ifdef HAVE_LDAP_SET_OPTION
index 99e2a15fb70f1f617dc030b82fcf514ec27d2c5b..1bdb06aa2c0c98f39b3bfa846bd01ea3a5a42962 100644 (file)
@@ -322,6 +322,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15\n", progname);
 }
index 07013ee6ce92caafc26f796a7ec0d66d540773d5..d6162f35dee7f2b4837ac43bee4664cabd985d37 100644 (file)
@@ -379,7 +379,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n",progname);
   printf ("[-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n");
 }
index b3caf4b53da45345dff00d891ddcd6fce7e71e25..d9b4e537230a281f85d9d265ca1b032129238665 100644 (file)
@@ -422,7 +422,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
   printf (" %s [-d database] [-H host] [-P port] [-s socket]\n",progname);
   printf ("       [-u user] [-p password] [-S]\n");
 }
index cae4718730780ff10e9292765f1b030b2ae1ed7d..cf9d8dfb2db227cd96e5f1eb50c2d86d7f87d8ef 100644 (file)
@@ -322,7 +322,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname);
   printf ("       [-d database] [-u user] [-p password]\n");
 }
index 1a809164b84b07fe7e6345fd05d39e8a5adb6d51..6485aa9a351fa5d4ba170bf7b385d85c11b19a2a 100644 (file)
@@ -310,6 +310,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -F <status log file> -e <expire_minutes> -C <process_string>\n", progname);
 }
index e4d64e8f8acc82a6f936cb7aa7aa6f17a987feab..32d4ff6c99f87a2b8d70150e8062c5c34b87b789 100644 (file)
@@ -756,7 +756,7 @@ void print_help(void)
 
 void print_usage(void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]\n",progname);
        printf ("[-l params] [-d SHOWALL] [-u] [-t timeout]\n");
 }
index e752bd9ff8852dbdff12b09b3a3077e988c3e8ba..ac89def77624392e136b473f6d30cb7559149551 100644 (file)
@@ -880,6 +880,6 @@ print_usage(void)
 {
        printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or"));
        printf ("%s\n\n", _("check_ntp_time instead."));
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf(" %s -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-v verbose]\n", progname);
 }
index abe91a52471c899cd5d8ccfe39d2fd41a89f3116..62ac9aedcca12437aa9da9207391a14413aecdc3 100644 (file)
@@ -715,7 +715,7 @@ void print_help(void){
 void
 print_usage(void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname);
        printf("       [-j <warn>] [-k <crit>] [-v verbose]\n");
 }
index 1ea3e893aad5e21e2b637a4b59b53aa21c5d2e13..f0f74b4e99298a5fb4dd3fadc983e4eafb09111b 100644 (file)
@@ -634,7 +634,7 @@ void print_help(void){
 void
 print_usage(void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname);
 }
 
index 6e09286773a503c8837ce07a513d9c0120d6c635..81c5575266811f644a06f0fda50dfc738de71362 100644 (file)
@@ -1682,6 +1682,6 @@ void print_help(void)
 
 void print_usage(void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n",progname);
 }
index 606799f1817eb3cd56d04c54eb027f66d0d5211e..16ada20d9667cff550ca9a7756a63d8e70d2d8e8 100644 (file)
@@ -464,6 +464,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n", progname);
 }
index 06e1127bf225052ea19d1d91fdd88522709d6dc7..19c3117d72929e6d29495ea3569c62c1f8426f7e 100644 (file)
@@ -474,7 +474,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf ("%s [-H <host>] [-P <port>] [-c <critical time>] [-w <warning time>]\n", progname);
        printf (" [-t <timeout>] [-d <database>] [-l <logname>] [-p <password>]\n");
 }
index db8e623fc406fadf8ad1233035b26d252bc381ce..ecdd61835e7508b09f3747440d4f19a72f9104f7 100644 (file)
@@ -598,7 +598,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname);
   printf (" [-p packets] [-t timeout] [-4|-6]\n");
 }
index 8655f6a31fab244a632f8a2d216cc9ecfda256e2..2151fb386facd262f57604870a2fd54e3fe62240 100644 (file)
@@ -757,7 +757,7 @@ be the total number of running processes\n\n"));
 void
 print_usage (void)
 {
-  printf (_("Usage: "));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname);
   printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n");
   printf (" [-C command] [-t timeout] [-v]\n");
index d5907ddebd3e058b2f67ef2368553ee532a49869..61d84fb8b971001ee1d4abb749696ea054a15033 100644 (file)
@@ -382,7 +382,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host -F config_file -u username -p password\n\
                        [-P port] [-t timeout] [-r retries] [-e expect]\n\
                        [-n nas-id] [-N nas-ip-addr]\n", progname);
index 1f8ae4298ebe186a7ff32e5dacc757325ff9a622..d67e190447eb2c4c39b36a5b7857bf2a933b5b71 100644 (file)
@@ -448,6 +448,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v]\n", progname);
 }
index 6707ec5304b601d822110c7155a15019857b1eb8..b7028e6cccc77ed0e2d94807ffacb23c4c244179 100644 (file)
@@ -816,7 +816,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname);
   printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n");
   printf ("[-S] [-D days] [-v] [-4|-6]\n");
index 3f0deb70ccc6a1cafc37d586cc7922236a0dc75f..2bc6024f42bab4ca06475ab69473f3d1fc64e729 100644 (file)
@@ -953,7 +953,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf ("%s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]\n",progname);
        printf ("[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]\n");
        printf ("[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]\n");
index b9b8a2d3eeb4898be031fc41f57d0c9f70d814b2..2509b860bd96c9e089020321ee7424360b9db545 100644 (file)
@@ -299,7 +299,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s [-46] [-t <timeout>] [-r <remote version>] [-p <port>] <host>\n", progname);
 }
 
index c5682d78e9c3d38223ec4f0d0244561ea867dd30..ce1f6022900590028464323742142a4a243da732 100644 (file)
@@ -555,7 +555,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
   printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname);
   printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname);
 }
index 555b8b9a2b69d7528604bf7311ea587056061de0..178bd5688dec52abeeb72667b595ba7c65709ab5 100644 (file)
@@ -648,7 +648,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
   printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname);
   printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n");
   printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n");
index 9e81d9eedc1ef52098e6a123062a29afa21c9ae5..3dcc662cb579d30df5640f4940f48e255735c8a9 100644 (file)
@@ -368,7 +368,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H <host_address> [-p port] [-u] [-w variance] [-c variance]\n",progname);
   printf (" [-W connect_time] [-C connect_time] [-t timeout]\n");
 }
index aef8e116976adc1b115575ab1726c4e2f67a5de9..30c9357acbc14521e4d55c31e7460afde84cb824 100644 (file)
@@ -657,6 +657,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]\n", progname);
 }
index 061c2fe9e0c4015f5310437f4974d347fa688873..8368612ad8be32c2ea4757b294b05ad3f9083156 100644 (file)
@@ -226,6 +226,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -w <users> -c <users>\n", progname);
 }
index 869b9d9d5ba02de91c9ee07403bec1182ce53f63..96f455782af33df2c1752fa5295225b7b1717c0e 100644 (file)
@@ -289,6 +289,6 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf ("%s [-t timeout] [-Towcu STATE] [-s] <definition of wrapped plugin>\n", progname);
 }
index 5fb3aca0b2c252a515aabd0637c7ae0896f8d424..6bb42db029607e39df3e965eec3f419502f31e7f 100644 (file)
@@ -194,6 +194,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s <url> <plugin> <arg1> ... <argN>\n", progname);
 }