Commit bb9ec5eb authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl: expanded the -XHEAD warning text

... to also mention the specific options used.
parent c341311a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ void customrequest_helper(struct OperationConfig *config, HttpReq req,
  }
  else if(curl_strequal(method, "head")) {
    warnf(config->global,
          "Setting custom HTTP method to HEAD may not work the way you "
          "want.\n");
          "Setting custom HTTP method to HEAD with -X/--request may not work "
          "the way you want. Consider using -I/--head instead.\n");
  }
}