slightly edited explanation for -f/--fail by the help of Kjell Ericson
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Mar 2006 21:21:35 +0000 (21:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Mar 2006 21:21:35 +0000 (21:21 +0000)
docs/curl.1

index e5b8814..a6745f5 100644 (file)
@@ -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]"