cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3424286 ] --show-error must come after --silent

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 16 Oct 2011 23:54:30 +0200

Bugs item #3424286, was opened at 2011-10-16 09:30
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3424286&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: client module
Group: wrong behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Andreas Olsson (l60andol)
Assigned to: Daniel Stenberg (bagder)
Summary: --show-error must come after --silent

Initial Comment:
Just tripped over a to me unexpected behavior in the curl client. When combining the --silent and the --show-error options they apparently have to be used in just that order for the errors to actually be show.

andreas@pingu:~$ curl --show-error --silent http://complete.bogus/
andreas@pingu:~$ curl --silent --show-error http://complete.bogus/
curl: (6) Couldn't resolve host 'complete.bogus'
andreas_at_pingu:~$

In case this actually is a desirable behavior it might be nice to have it mentioned in the man page.

The curl version in question is taken fresh of the master branch.

andreas_at_pingu:~$ curl --version
curl 7.23.0-DEV (x86_64-unknown-linux-gnu) libcurl/7.23.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz
andreas_at_pingu:~$

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2011-10-16 23:54

Message:
Thanks for your report. This bug has been fixed in commit b229c8ca8b34d
which has been pushed to the git repo.

Case closed!

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2011-10-16 11:41

Message:
I'd say this is _not_ a desirable behavior. I'll work on a fix..

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3424286&group_id=976
Received on 2011-10-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET