From 24772e755e9d2a255e36eb2a97f545d2cb7ade3c Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Wed, 28 Nov 2012 11:03:11 +0100 Subject: unified ipv4/6 usage and help text --- plugins/check_ntp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/check_ntp.c') diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 76d19ba3..7d18919f 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c @@ -845,6 +845,7 @@ void print_help(void){ printf (UT_HELP_VRSN); printf (UT_EXTRA_OPTS); printf (UT_HOST_PORT, 'p', "123"); + printf (UT_IPv46); printf (" %s\n", "-w, --warning=THRESHOLD"); printf (" %s\n", _("Offset to result in warning status (seconds)")); printf (" %s\n", "-c, --critical=THRESHOLD"); @@ -881,5 +882,5 @@ 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 ("%s\n", _("Usage:")); - printf(" %s -H [-w ] [-c ] [-j ] [-k ] [-v verbose]\n", progname); + printf(" %s -H [-w ] [-c ] [-j ] [-k ] [-4|-6] [-v verbose]\n", progname); } -- cgit v1.2.3