diff --git a/docs/cmdline-opts/_EXITCODES.md b/docs/cmdline-opts/_EXITCODES.md index 333e198d7c..10084b3144 100644 --- a/docs/cmdline-opts/_EXITCODES.md +++ b/docs/cmdline-opts/_EXITCODES.md @@ -58,7 +58,7 @@ failed. FTP quote error. A quote command returned error from the server. ## 22 HTTP page not retrieved. The requested URL was not found or returned another -error with the HTTP error code being 400 or above. This return code only +error with the HTTP error code being 400 or higher. This return code only appears if --fail is used. ## 23 Write error. curl could not write data to a local file system or similar. diff --git a/docs/cmdline-opts/fail.md b/docs/cmdline-opts/fail.md index 0c8db1367b..468e3e985c 100644 --- a/docs/cmdline-opts/fail.md +++ b/docs/cmdline-opts/fail.md @@ -19,7 +19,7 @@ Example: # `--fail` Fail with error code 22 and with no response body output at all for HTTP -transfers returning HTTP response codes at 400 or greater. +transfers returning HTTP response codes at 400 or higher. In normal cases when an HTTP server fails to deliver a document, it returns a body of text stating so (which often also describes why and more) and a 4xx