[nagiosplug] check_http: s/--header_string/--header-string/

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Sun Aug 18 19:20:14 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: ebb5572af3aa518ec143e1a099ed5070855e3076
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Sun Aug 18 19:14:22 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=ebb5572

check_http: s/--header_string/--header-string/

The name of the new option is "--header-string".

---

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

diff --git a/plugins/check_http.c b/plugins/check_http.c
index 5204028..56e87bb 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -207,7 +207,7 @@ process_arguments (int argc, char **argv)
     {"port", required_argument, 0, 'p'},
     {"authorization", required_argument, 0, 'a'},
     {"proxy_authorization", required_argument, 0, 'b'},
-    {"header_string", required_argument, 0, 'd'},
+    {"header-string", required_argument, 0, 'd'},
     {"string", required_argument, 0, 's'},
     {"expect", required_argument, 0, 'e'},
     {"regex", required_argument, 0, 'r'},





More information about the Commits mailing list