[monitoring-plugins] reverted double header in longopts
Andreas Baumann <[email protected]> Fri, 17 Mar 2017 16:10:12 +0100 (CET)
| Newsgroups | gmane.network.nagios.cvs |
|---|---|
| Message-ID | <20170317151012.EA9382008488__8177.46596080742$1489763423$gmane$org@orwell.monitoring-plugins.org> |
Module: monitoring-plugins Branch: feature_check_curl Commit: fe20e18045af937c0be013530ad97d428b3b7a00 Author: Andreas Baumann <[email protected]> Date: Fri Mar 17 16:01:22 2017 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=fe20e18 reverted double header in longopts --- plugins/check_curl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/check_curl.c b/plugins/check_curl.c index b588eed..8eac051 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c @@ -525,7 +525,6 @@ process_arguments (int argc, char **argv) {"useragent", required_argument, 0, 'A'}, {"header", required_argument, 0, 'k'}, {"invert-regex", no_argument, NULL, INVERT_REGEX}, - {"header", required_argument, 0, 'k'}, {"extended-perfdata", no_argument, 0, 'E'}, {0, 0, 0, 0} };