]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: make --silent work stand-alone
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Feb 2023 15:34:36 +0000 (16:34 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Feb 2023 08:22:49 +0000 (09:22 +0100)
commit6841f2ed5fb53a74b8d6a31d4035fd52221c4275
tree536cc42d9f8ca5e37a790b3409b6c6dc818af4f1
parent6d860f1758c9128e726a006d3aaea4d4c09bf77d
curl: make --silent work stand-alone

- renamed the struct field to 'silent' to match the cmdline option
- make --show-error toggle independently of --silent
- make --silent independent of ->noprogress as well

By doing this, the three options --silent, --no-progress-meter and
--show-error should work independently of each other and also work with
and without '--no-' prefix as documented.

Reported-by: u20221022 on github
Fixes #10535
Closes #10536
src/tool_cfgable.h
src/tool_getparam.c
src/tool_main.c
src/tool_msgs.c
src/tool_operate.c