mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:23:40 +03:00
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.
This commit is contained in:
parent
df6a4d3519
commit
481e0de00a
5 changed files with 65 additions and 16 deletions
|
|
@ -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, ...);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue