[nagiosplug] Fix short help using "warn" for the -f option ...

Thomas Guyot-Sionnest dermoth at users.sourceforge.net
Thu Dec 3 03:25:49 CET 2009


 Module: nagiosplug
 Branch: master
 Commit: 88b9e75deec6f84efe1260a6df57f3f79ba04edf
 Author: Thomas Guyot-Sionnest <dermoth at aei.ca>
   Date: Wed Dec  2 21:24:09 2009 -0500
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=88b9e75

Fix short help using "warn" for the -f option instead of "warning" (onredirect).

---

 plugins/check_http.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/check_http.c b/plugins/check_http.c
index b4e6004..0a4b12b 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1420,8 +1420,8 @@ print_usage (void)
 {
   printf (_("Usage:"));
   printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
-  printf ("       [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]\n");
-  printf ("       [-a auth] [-b proxy_auth] [-f <ok | warn | critcal | follow | sticky | stickyport>]\n");
+  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");
   printf ("       [-e <expect>] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]\n");
   printf ("       [-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]\n");
   printf ("       [-A string] [-k string] [-S] [-C <age>] [-T <content-type>] [-j method]\n");





More information about the Commits mailing list