diff options
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 62efc8c7..1057fdc6 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -57,7 +57,7 @@ const char *standard_options = "\ | |||
57 | -h, --help\n\ | 57 | -h, --help\n\ |
58 | Print detailed help screen\n\ | 58 | Print detailed help screen\n\ |
59 | -V, --version\n\ | 59 | -V, --version\n\ |
60 | Print version information"; | 60 | Print version information\n\n"; |
61 | 61 | ||
62 | #include "config.h" | 62 | #include "config.h" |
63 | #include "common.h" | 63 | #include "common.h" |
@@ -358,10 +358,7 @@ main (int argc, char **argv) | |||
358 | 358 | ||
359 | return result; | 359 | return result; |
360 | } | 360 | } |
361 | 361 | ||
362 | |||
363 | |||
364 | |||
365 | 362 | ||
366 | 363 | ||
367 | 364 | ||
@@ -513,13 +510,15 @@ process_arguments (int argc, char **argv) | |||
513 | 510 | ||
514 | return OK; | 511 | return OK; |
515 | } | 512 | } |
513 | |||
514 | |||
515 | |||
516 | 516 | ||
517 | void | 517 | void |
518 | print_help (void) | 518 | print_help (void) |
519 | { | 519 | { |
520 | print_revision (progname, revision); | 520 | print_revision (progname, revision); |
521 | printf ("Copyright (c) %s %s\n\t<%s>\n\n", | 521 | printf ("Copyright (c) %s %s\n\t<%s>\n\n", copyright, authors, email); |
522 | copyright, authors, email); | ||
523 | printf (summary, SERVICE); | 522 | printf (summary, SERVICE); |
524 | print_usage (); | 523 | print_usage (); |
525 | printf ("\nOptions:\n"); | 524 | printf ("\nOptions:\n"); |
@@ -535,6 +534,9 @@ print_usage (void) | |||
535 | printf (" %s (-h|--help)\n", progname); | 534 | printf (" %s (-h|--help)\n", progname); |
536 | printf (" %s (-V|--version)\n", progname); | 535 | printf (" %s (-V|--version)\n", progname); |
537 | } | 536 | } |
537 | |||
538 | |||
539 | |||
538 | 540 | ||
539 | #ifdef HAVE_SSL | 541 | #ifdef HAVE_SSL |
540 | int | 542 | int |