Parcourir la source

Fix help text of check_ntp_* (Bug #1880095)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1908 f882894a-f735-0410-b71e-b25c423dba1c
Thomas Guyot-Sionnest il y a 18 ans
Parent
commit
08d81dc7bd
4 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 1 0
      NEWS
  2. 1 0
      THANKS.in
  3. 1 1
      plugins/check_ntp_peer.c
  4. 1 2
      plugins/check_ntp_time.c

+ 1 - 0
NEWS

@@ -7,6 +7,7 @@ This file documents the major additions and syntax changes between releases.
 	Fix segfault in check_ntp_time and (deprecated) check_ntp. (Bug #1862300)
 	check_disk should now work with large file systems (2TB+) on all archs that supports it
 	Fixed check_disk disk usage calculation when using --group=NAME (related to bug #1348746)
+	Fix help text of check_ntp_* (Bug #1880095)
 
 1.4.11 13th December 2007
 	Fixed check_http regression in 1.4.10 where following redirects to

+ 1 - 0
THANKS.in

@@ -232,3 +232,4 @@ Tom Payerle
 Alessandro Ren
 Harald Jenny
 Matthias Urlichs
+Jan Wagner

+ 1 - 1
plugins/check_ntp_peer.c

@@ -642,7 +642,7 @@ void print_help(void){
 	printf ("    %s\n", _("Offset to result in critical status (seconds)"));
 	printf (" %s\n", "-W, --warning=THRESHOLD");
 	printf ("    %s\n", _("Warning threshold for stratum"));
-	printf (" %s\n", "-W, --critical=THRESHOLD");
+	printf (" %s\n", "-C, --critical=THRESHOLD");
 	printf ("    %s\n", _("Critical threshold for stratum"));
 	printf (" %s\n", "-j, --warning=THRESHOLD");
 	printf ("    %s\n", _("Warning threshold for jitter"));

+ 1 - 2
plugins/check_ntp_time.c

@@ -631,7 +631,6 @@ void
 print_usage(void)
 {
 	printf (_("Usage:"));
-	printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname);
-	printf("       [-j <warn>] [-k <crit>] [-v verbose]\n");
+	printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname);
 }