diff options
author | Sven Nierlein <sven@nierlein.de> | 2012-11-28 10:03:11 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2012-11-28 10:03:11 (GMT) |
commit | 24772e755e9d2a255e36eb2a97f545d2cb7ade3c (patch) | |
tree | 539d36018c186208829321ee7072fdacc18da0ef /plugins/check_ntp_time.c | |
parent | 668d8968ba6c36a37e01904e3083e279631edf32 (diff) | |
download | monitoring-plugins-24772e755e9d2a255e36eb2a97f545d2cb7ade3c.tar.gz |
unified ipv4/6 usage and help text
Diffstat (limited to 'plugins/check_ntp_time.c')
-rw-r--r-- | plugins/check_ntp_time.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index d543d6b..86530fe 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
@@ -602,6 +602,7 @@ void print_help(void){ | |||
602 | print_usage(); | 602 | print_usage(); |
603 | printf (UT_HELP_VRSN); | 603 | printf (UT_HELP_VRSN); |
604 | printf (UT_EXTRA_OPTS); | 604 | printf (UT_EXTRA_OPTS); |
605 | printf (UT_IPv46); | ||
605 | printf (UT_HOST_PORT, 'p', "123"); | 606 | printf (UT_HOST_PORT, 'p', "123"); |
606 | printf (" %s\n", "-q, --quiet"); | 607 | printf (" %s\n", "-q, --quiet"); |
607 | printf (" %s\n", _("Returns UNKNOWN instead of CRITICAL if offset cannot be found")); | 608 | printf (" %s\n", _("Returns UNKNOWN instead of CRITICAL if offset cannot be found")); |
@@ -635,6 +636,6 @@ void | |||
635 | print_usage(void) | 636 | print_usage(void) |
636 | { | 637 | { |
637 | printf ("%s\n", _("Usage:")); | 638 | printf ("%s\n", _("Usage:")); |
638 | printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname); | 639 | printf(" %s -H <host> [-4|-6] [-w <warn>] [-c <crit>] [-v verbose]\n", progname); |
639 | } | 640 | } |
640 | 641 | ||