slightly edited explanation for -f/--fail by the help of Kjell Ericson
This commit is contained in:
parent
0618e68200
commit
938b5c886e
@ -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]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user