diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 00:46:06 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-10 00:46:06 +0200 |
commit | 5bfca4b34d15ef40239ed6074b9ff9c061022946 (patch) | |
tree | 3a446c547693876c693d509e620e56e2b565faeb | |
parent | e8594f461da0701f3e44af2c5baf351b909a5038 (diff) | |
download | monitoring-plugins-5bfca4b34d15ef40239ed6074b9ff9c061022946.tar.gz |
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.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | plugins/check_http.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -45,6 +45,7 @@ This file documents the major additions and syntax changes between releases. | |||
45 | 45 | ||
46 | WARNINGS | 46 | WARNINGS |
47 | check_http behaviour of -k/--header changed since it does not seperate multiple headers by semicolons anymore. Use multiple -k switches instead. | 47 | check_http behaviour of -k/--header changed since it does not seperate multiple headers by semicolons anymore. Use multiple -k switches instead. |
48 | check_http's --proxy_authorization option is now called --proxy-authorization (it was always documented this way) | ||
48 | 49 | ||
49 | 1.4.16 27th June 2012 | 50 | 1.4.16 27th June 2012 |
50 | ENHANCEMENTS | 51 | ENHANCEMENTS |
diff --git a/plugins/check_http.c b/plugins/check_http.c index 1576601b..c44bb3ac 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -215,7 +215,7 @@ process_arguments (int argc, char **argv) | |||
215 | {"url", required_argument, 0, 'u'}, | 215 | {"url", required_argument, 0, 'u'}, |
216 | {"port", required_argument, 0, 'p'}, | 216 | {"port", required_argument, 0, 'p'}, |
217 | {"authorization", required_argument, 0, 'a'}, | 217 | {"authorization", required_argument, 0, 'a'}, |
218 | {"proxy_authorization", required_argument, 0, 'b'}, | 218 | {"proxy-authorization", required_argument, 0, 'b'}, |
219 | {"header-string", required_argument, 0, 'd'}, | 219 | {"header-string", required_argument, 0, 'd'}, |
220 | {"string", required_argument, 0, 's'}, | 220 | {"string", required_argument, 0, 's'}, |
221 | {"expect", required_argument, 0, 'e'}, | 221 | {"expect", required_argument, 0, 'e'}, |