mirror of
https://github.com/curl/curl.git
synced 2026-04-24 01:22:15 +03:00
curl: make --disable work as long form of -q
To make the aliases list reflect reality.
This commit is contained in:
parent
b499973c7b
commit
e200034425
1 changed files with 3 additions and 1 deletions
|
|
@ -1843,7 +1843,9 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Parse .curlrc if necessary */
|
/* Parse .curlrc if necessary */
|
||||||
if((argc == 1) || (!curlx_strequal(argv[1], "-q"))) {
|
if((argc == 1) ||
|
||||||
|
(!curlx_strequal(argv[1], "-q") ||
|
||||||
|
!curlx_strequal(argv[1], "--disable"))) {
|
||||||
parseconfig(NULL, config); /* ignore possible failure */
|
parseconfig(NULL, config); /* ignore possible failure */
|
||||||
|
|
||||||
/* If we had no arguments then make sure a url was specified in .curlrc */
|
/* If we had no arguments then make sure a url was specified in .curlrc */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue