tool_getparam: make --no-get work as the opposite of --get

... as documented.

Closes #9891
This commit is contained in:
Daniel Stenberg 2022-11-11 15:37:36 +01:00
parent fa0b922761
commit 0f860da4b6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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 */