summaryrefslogtreecommitdiff
path: root/src/tool_getparam.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-19 14:26:47 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-05-22 22:55:11 +0100
commita9499ff136d89987af885e2d7dff0a066a3e5817 (patch)
tree904b62365fed0947213dfe9d18de1bffa9404739 /src/tool_getparam.c
parenta14d72ca2fec5d4eb5a043936e4f7ce08015c177 (diff)
downloadcurl-a9499ff136d89987af885e2d7dff0a066a3e5817.tar.gz
curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r--src/tool_getparam.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index b347121f8..f5e80b54d 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -177,7 +177,8 @@ static const struct LongShort aliases[]= {
{"$H", "mail-auth", ARG_STRING},
{"$I", "post303", ARG_BOOL},
{"$J", "metalink", ARG_BOOL},
- {"$K", "sasl-ir", ARG_BOOL},
+ {"$6", "sasl-authzid", ARG_STRING},
+ {"$K", "sasl-ir", ARG_BOOL },
{"$L", "test-event", ARG_BOOL},
{"$M", "unix-socket", ARG_FILENAME},
{"$N", "path-as-is", ARG_BOOL},
@@ -1099,6 +1100,9 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
#endif
break;
}
+ case '6': /* --sasl-authzid */
+ GetStr(&config->sasl_authzid, nextarg);
+ break;
case 'K': /* --sasl-ir */
config->sasl_ir = toggle;
break;