From: Daniel Stenberg Date: Wed, 15 Mar 2006 21:21:35 +0000 (+0000) Subject: slightly edited explanation for -f/--fail by the help of Kjell Ericson X-Git-Tag: curl-7_15_3~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=938b5c886e564ac0c0da416641e843394767b407;p=curl slightly edited explanation for -f/--fail by the help of Kjell Ericson --- diff --git a/docs/curl.1 b/docs/curl.1 index e5b881458..a6745f55a 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -355,9 +355,9 @@ If this option is used several times, the last one will be used. .IP "-f/--fail" (HTTP) Fail silently (no output at all) on server errors. This is mostly done like this to better enable scripts etc to better deal with failed attempts. In -normal cases when a HTTP server fails to deliver a document, it returns a HTML -document stating so (which often also describes why and more). This flag will -prevent curl from outputting that and fail silently instead. +normal cases when a HTTP server fails to deliver a document, it returns an +HTML document stating so (which often also describes why and more). This flag +will prevent curl from outputting that and return error 22. If this option is used twice, the second will again disable silent failure. .IP "--ftp-account [data]"