From: Daniel Stenberg Date: Fri, 11 Nov 2022 14:37:36 +0000 (+0100) Subject: tool_getparam: make --no-get work as the opposite of --get X-Git-Tag: curl-7_87_0~171 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f860da4b6cf78215abc5d9403ecb48d95584901;p=thirdparty%2Fcurl.git tool_getparam: make --no-get work as the opposite of --get ... as documented. Closes #9891 --- diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 7a9d597a4c..ea5a21ae5c 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -1999,7 +1999,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ GetStr(&config->request_target, nextarg); } else - config->use_httpget = TRUE; + config->use_httpget = toggle; break; case 'h': /* h for help */