Commit 938b5c88 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

slightly edited explanation for -f/--fail by the help of Kjell Ericson

parent 0618e682
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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]"