Browse Source

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

... as documented.

Closes #9891
Daniel Stenberg 1 year ago
parent
commit
0f860da4b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/tool_getparam.c

+ 1 - 1
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 */