1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 14:35:03 -05:00
curl/src
Daniel Stenberg c6deecd7e9
curl: use errorf() better
Change series of error outputs to use errorf().

Only errors that are due to mistakes in command line option usage should
use helpf(), other types of errors in the tool should rather use
errorf().

Closes #4691
2019-12-10 10:03:33 +01:00
..
macos docs/comments: Update to secure URL versions 2017-08-08 21:41:07 +02:00
.gitignore VC: remove the makefile.vc6 build infra 2017-01-23 14:27:32 +01:00
CMakeLists.txt curl: remove MANUAL from -M output 2019-02-20 08:20:27 +01:00
curl.rc (lib)curl.rc: fixup for minor bugs 2018-12-10 00:10:04 +01:00
Makefile.am src/makefile: fix uncompressed hugehelp.c generation 2019-08-01 07:46:09 +02:00
makefile.amiga whitespace fixes 2018-09-23 22:24:02 +00:00
makefile.dj whitespace fixes 2018-09-23 22:24:02 +00:00
Makefile.inc curl: support parallel transfers 2019-07-20 19:14:16 +02:00
Makefile.m32 whitespace fixes 2018-09-23 22:24:02 +00:00
Makefile.netware axtls: removed 2018-11-01 10:29:53 +01:00
Makefile.Watcom s/cURL/curl 2016-11-07 10:36:23 +01:00
mkhelp.pl curl: remove MANUAL from -M output 2019-02-20 08:20:27 +01:00
slist_wc.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
slist_wc.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_binmode.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_binmode.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_bname.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_bname.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_cb_dbg.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
tool_cb_dbg.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_cb_hdr.c curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_cb_hdr.h curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_cb_prg.c curl: fix --upload-file . hangs if delay in STDIN 2019-11-26 09:17:52 +01:00
tool_cb_prg.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_cb_rea.c curl: fix --upload-file . hangs if delay in STDIN 2019-11-26 09:17:52 +01:00
tool_cb_rea.h curl: fix --upload-file . hangs if delay in STDIN 2019-11-26 09:17:52 +01:00
tool_cb_see.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_cb_see.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_cb_wrt.c curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_cb_wrt.h curl -J: do not append to the destination file 2018-12-19 08:44:02 +01:00
tool_cfgable.c curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_cfgable.h curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_convert.c cli tool: refactor encoding conversion sequence for switch case fallthrough. 2019-02-16 02:04:24 +01:00
tool_convert.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_dirhie.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
tool_dirhie.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_doswin.c build: Disable Visual Studio warning "conditional expression is constant" 2019-12-01 19:01:02 -05:00
tool_doswin.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_easysrc.c copyright: fix the year ranges for two files 2019-12-02 08:02:39 +01:00
tool_easysrc.h mime: use in curl cli tool instead of form API. 2017-09-02 18:17:33 +01:00
tool_filetime.c time-cond: fix reading the file modification time on Windows 2018-02-05 22:02:10 +01:00
tool_filetime.h whitespace fixes 2018-09-23 22:24:02 +00:00
tool_formparse.c tool_formparse: remove redundant assignment 2019-05-20 08:06:24 +02:00
tool_formparse.h cli tool: fix mime post with --disable-libcurl-option configure option 2019-02-19 17:08:58 +01:00
tool_getparam.c build: Disable Visual Studio warning "conditional expression is constant" 2019-12-01 19:01:02 -05:00
tool_getparam.h curl: report error for "--no-" on non-boolean options 2019-05-20 19:04:54 +02:00
tool_getpass.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
tool_getpass.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
tool_help.c curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_help.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_helpers.c curl: report error for "--no-" on non-boolean options 2019-05-20 19:04:54 +02:00
tool_helpers.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_homedir.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_homedir.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_hugehelp.c.cvs tests: checksrc compliance 2016-12-19 02:31:59 -05:00
tool_hugehelp.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_libinfo.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_libinfo.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_main.c curl: use errorf() better 2019-12-10 10:03:33 +01:00
tool_main.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_metalink.c build: Disable Visual Studio warning "conditional expression is constant" 2019-12-01 19:01:02 -05:00
tool_metalink.h curl: fix memory leaked by parse_metalink() 2019-09-13 10:09:48 +02:00
tool_msgs.c curl: use errorf() better 2019-12-10 10:03:33 +01:00
tool_msgs.h curl: show better error message when no homedir is found 2019-12-03 16:26:02 +01:00
tool_operate.c curl: use errorf() better 2019-12-10 10:03:33 +01:00
tool_operate.h curl: two new command line options for etags 2019-11-28 13:05:20 +01:00
tool_operhlp.c curl: create easy handles on-demand and not ahead of time 2019-10-02 07:50:32 +02:00
tool_operhlp.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_panykey.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_panykey.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_paramhlp.c curl: use errorf() better 2019-12-10 10:03:33 +01:00
tool_paramhlp.h curl: cap the maximum allowed values for retry time arguments 2019-07-30 08:17:01 +02:00
tool_parsecfg.c curl: use .curlrc (with a dot) on Windows as well 2019-08-20 11:48:49 +02:00
tool_parsecfg.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_progress.c curl: fix --upload-file . hangs if delay in STDIN 2019-11-26 09:17:52 +01:00
tool_progress.h curl: support parallel transfers 2019-07-20 19:14:16 +02:00
tool_sdecls.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_setopt.c lib: fix some loose ends for recently added CURLSSLOPT_NO_PARTIALCHAIN 2019-12-05 19:17:31 -05:00
tool_setopt.h build: Disable Visual Studio warning "conditional expression is constant" 2019-12-01 19:01:02 -05:00
tool_setup.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_sleep.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_sleep.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_strdup.c code style: use spaces around pluses 2017-09-11 09:29:50 +02:00
tool_strdup.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_urlglob.c curl: create easy handles on-demand and not ahead of time 2019-10-02 07:50:32 +02:00
tool_urlglob.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_util.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_util.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_version.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_vms.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_vms.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_writeout.c curl: have -w's 'http_version' show '3' for HTTP/3 2019-08-07 12:51:52 +02:00
tool_writeout.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
tool_xattr.c curl: follow-up to 3f16990ec8 2019-02-11 14:22:36 +01:00
tool_xattr.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00