mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05: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
@ -1843,7 +1843,9 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
|
||||
#endif
|
||||
|
||||
/* 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 */
|
||||
|
||||
/* If we had no arguments then make sure a url was specified in .curlrc */
|
||||
|
Loading…
Reference in New Issue
Block a user