Commit 51d602f9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

made -G set request type

parent 30d5401f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1344,6 +1344,8 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */

    case 'G': /* HTTP GET */
      config->use_httpget = TRUE;
      if(SetHTTPrequest(HTTPREQ_GET, &config->httpreq))
        return PARAM_BAD_USE;
      break;

    case 'h': /* h for help */