From 938b5c886e564ac0c0da416641e843394767b407 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 15 Mar 2006 21:21:35 +0000 Subject: [PATCH] slightly edited explanation for -f/--fail by the help of Kjell Ericson --- docs/curl.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]" -- 2.40.0