tool_getparam: make --get a true boolean

To match how it is documented in the man page.

Fixes #10527
Reported-by: u20221022 on github
Closes #10531
This commit is contained in:
Daniel Stenberg 2023-02-16 08:19:06 +01:00
parent 8c939453f5
commit ce24ea373f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -294,7 +294,7 @@ static const struct LongShort aliases[]= {
{"F", "form", ARG_STRING},
{"Fs", "form-string", ARG_STRING},
{"g", "globoff", ARG_BOOL},
{"G", "get", ARG_NONE},
{"G", "get", ARG_BOOL},
{"Ga", "request-target", ARG_STRING},
{"h", "help", ARG_BOOL},
{"H", "header", ARG_STRING},