From 481e0de00a9003b9c5220b120e3fc302d9b0932d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 29 Aug 2015 23:56:28 +0200 Subject: curl: point out unnecessary uses of -X in verbose mode It uses 'Note:' as a prefix as opposed to the common 'Warning:' to take down the tone a bit. It adds a warning for using -XHEAD on other methods becasue that may lead to a hanging connection. --- src/tool_msgs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tool_msgs.h') diff --git a/src/tool_msgs.h b/src/tool_msgs.h index bf97bfba7..e8ad259c5 100644 --- a/src/tool_msgs.h +++ b/src/tool_msgs.h @@ -24,6 +24,7 @@ #include "tool_setup.h" void warnf(struct GlobalConfig *config, const char *fmt, ...); +void notef(struct GlobalConfig *config, const char *fmt, ...); void helpf(FILE *errors, const char *fmt, ...); -- cgit v1.2.3