[nagiosplug] s/--proxy_authorization/--proxy-authorization/

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Tue Sep 10 01:00:19 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: 5bfca4b34d15ef40239ed6074b9ff9c061022946
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Tue Sep 10 00:46:06 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=5bfca4b

s/--proxy_authorization/--proxy-authorization/

The check_http option "--proxy_authorization" is now called
"--proxy-authorization" instead.  It was always documented this way, and
we don't usually use underscores in option names.

---

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

diff --git a/NEWS b/NEWS
index 0261e49..6c01776 100644
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,7 @@ This file documents the major additions and syntax changes between releases.
 
 	WARNINGS
 	check_http behaviour of -k/--header changed since it does not seperate multiple headers by semicolons anymore. Use multiple -k switches instead.
+	check_http's --proxy_authorization option is now called --proxy-authorization (it was always documented this way)
 
 1.4.16 27th June 2012
 	ENHANCEMENTS
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 1576601..c44bb3a 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -215,7 +215,7 @@ process_arguments (int argc, char **argv)
     {"url", required_argument, 0, 'u'},
     {"port", required_argument, 0, 'p'},
     {"authorization", required_argument, 0, 'a'},
-    {"proxy_authorization", required_argument, 0, 'b'},
+    {"proxy-authorization", required_argument, 0, 'b'},
     {"header-string", required_argument, 0, 'd'},
     {"string", required_argument, 0, 's'},
     {"expect", required_argument, 0, 'e'},





More information about the Commits mailing list