-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
I did this
Having following settings in ~/.curlrc:
--write-out \n
--netrc-optional
I executed:
curl --disable -v https://some.host/
In the output I noticed:
* Couldn't find host some.host in the .netrc file; using defaults
I expected the following
I assumed config options from ~/.curlrc will not be used, especially --netrc-optional.
According to docs/options-in-versions option to disable reading curlrc file was introduced in 5.0:
--disable (-q) 5.0
This is a little bit confusing. I guess it could be like this instead:
--disable (-q) 7.49.0 (5.0)
curl/libcurl version
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.44 zlib/1.2.7 libidn/1.28 libssh2/1.8.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets
operating system
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Reactions are currently unavailable