summaryrefslogtreecommitdiff
path: root/src/cmdline.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-12-25 14:05:11 +0100
committerAndreas Baumann <abaumann@yahoo.com>2013-12-25 14:05:11 +0100
commit49d862e89dd0a0010ed23889ec6f7c00a68521ef (patch)
tree5def2f00ae94ee515f347625446dc16cbcff884f /src/cmdline.h
parent1071689c87f3b63ef1ac6c87c196a23b67f354a8 (diff)
downloadnagios-plugin-curl-49d862e89dd0a0010ed23889ec6f7c00a68521ef.tar.gz
nagios-plugin-curl-49d862e89dd0a0010ed23889ec6f7c00a68521ef.tar.bz2
changed digest option to -d to -D (-d is used by the original check_http
plugin for "String to expect in the response headers"). Command line option moved to check_curl.ggo and regenerated cmdline.[ch]
Diffstat (limited to 'src/cmdline.h')
-rw-r--r--src/cmdline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdline.h b/src/cmdline.h
index 811aec2..09b27b3 100644
--- a/src/cmdline.h
+++ b/src/cmdline.h
@@ -90,10 +90,10 @@ struct gengetopt_args_info
char * key_arg; /**< @brief Private key file name (SSL). */
char * key_orig; /**< @brief Private key file name (SSL) original value given at command line. */
const char *key_help; /**< @brief Private key file name (SSL) help description. */
+ const char *digest_help; /**< @brief Use digest auth on http authentication help description. */
char * protocol_arg; /**< @brief The protocol to use (http, ftp) (default='http'). */
char * protocol_orig; /**< @brief The protocol to use (http, ftp) original value given at command line. */
const char *protocol_help; /**< @brief The protocol to use (http, ftp) help description. */
- const char *digest_help; /**< @brief The protocol to use (http, ftp) help description. */
unsigned int help_given ; /**< @brief Whether help was given. */
unsigned int version_given ; /**< @brief Whether version was given. */
@@ -116,8 +116,8 @@ struct gengetopt_args_info
unsigned int cacert_given ; /**< @brief Whether cacert was given. */
unsigned int cert_given ; /**< @brief Whether cert was given. */
unsigned int key_given ; /**< @brief Whether key was given. */
+ unsigned int digest_given ; /**< @brief Whether digest was given. */
unsigned int protocol_given ; /**< @brief Whether protocol was given. */
- unsigned int digest_given ; /**< @brief Whether to use digest auth. */
char **inputs ; /**< @brief unamed options (options without names) */
unsigned inputs_num ; /**< @brief unamed options number */