diff --git a/README.md b/README.md
index 171ec372c..f75963e0e 100644
--- a/README.md
+++ b/README.md
@@ -1202,7 +1202,7 @@ will follow a redirection only for the second entry.
| --key <KEY>
| Private key file name.
|
| -L, --location
| Follow redirect. To limit the amount of redirects to follow use the [`--max-redirs`](#max-redirs) option
|
| --location-trusted
| Like [`-L, --location`](#location), but allows sending the name + password to all hosts that the site may redirect to.
This may or may not introduce a security breach if the site redirects you to a site to which you send your authentication info (which is plaintext in the case of HTTP Basic authentication).
|
-| --max-filesize <BYTES>
| Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
|
+| --max-filesize <BYTES>
| Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
This is a cli-only option.
|
| --max-redirs <NUM>
| Set maximum number of redirection-followings allowed
By default, the limit is set to 50 redirections. Set this option to -1 to make it unlimited.
|
| -m, --max-time <SECONDS>
| Maximum time in seconds that you allow a request/response to take. This is the standard timeout.
See also [`--connect-timeout`](#connect-timeout).
This is a cli-only option.
|
| -n, --netrc
| Scan the .netrc file in the user's home directory for the username and password.
See also [`--netrc-file`](#netrc-file) and [`--netrc-optional`](#netrc-optional).
|
diff --git a/docs/manual.md b/docs/manual.md
index fbbbdfb24..15ea91911 100644
--- a/docs/manual.md
+++ b/docs/manual.md
@@ -177,7 +177,7 @@ will follow a redirection only for the second entry.
| --key <KEY>
| Private key file name.
|
| -L, --location
| Follow redirect. To limit the amount of redirects to follow use the [`--max-redirs`](#max-redirs) option
|
| --location-trusted
| Like [`-L, --location`](#location), but allows sending the name + password to all hosts that the site may redirect to.
This may or may not introduce a security breach if the site redirects you to a site to which you send your authentication info (which is plaintext in the case of HTTP Basic authentication).
|
-| --max-filesize <BYTES>
| Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
|
+| --max-filesize <BYTES>
| Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
This is a cli-only option.
|
| --max-redirs <NUM>
| Set maximum number of redirection-followings allowed
By default, the limit is set to 50 redirections. Set this option to -1 to make it unlimited.
|
| -m, --max-time <SECONDS>
| Maximum time in seconds that you allow a request/response to take. This is the standard timeout.
See also [`--connect-timeout`](#connect-timeout).
This is a cli-only option.
|
| -n, --netrc
| Scan the .netrc file in the user's home directory for the username and password.
See also [`--netrc-file`](#netrc-file) and [`--netrc-optional`](#netrc-optional).
|
diff --git a/docs/manual/hurl.1 b/docs/manual/hurl.1
index edc9b4b01..06ad1b24c 100644
--- a/docs/manual/hurl.1
+++ b/docs/manual/hurl.1
@@ -1,4 +1,4 @@
-.TH hurl 1 "04 Apr 2024" "hurl 4.3.0-SNAPSHOT" " Hurl Manual"
+.TH hurl 1 "08 Apr 2024" "hurl 4.3.0-SNAPSHOT" " Hurl Manual"
.SH NAME
hurl - run and test HTTP requests.
@@ -299,6 +299,8 @@ This may or may not introduce a security breach if the site redirects you to a s
Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
+This is a cli-only option.
+
.IP "--max-redirs "
Set maximum number of redirection-followings allowed
diff --git a/docs/manual/hurl.md b/docs/manual/hurl.md
index 8d7b924f2..8cec49282 100644
--- a/docs/manual/hurl.md
+++ b/docs/manual/hurl.md
@@ -318,6 +318,8 @@ This may or may not introduce a security breach if the site redirects you to a s
Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
+This is a cli-only option.
+
### --max-redirs {#max-redirs}
Set maximum number of redirection-followings allowed
diff --git a/docs/manual/hurlfmt.1 b/docs/manual/hurlfmt.1
index 80c4e7d6c..7ee874968 100644
--- a/docs/manual/hurlfmt.1
+++ b/docs/manual/hurlfmt.1
@@ -1,4 +1,4 @@
-.TH hurl 1 "04 Apr 2024" "hurl 4.3.0-SNAPSHOT" " Hurl Manual"
+.TH hurl 1 "08 Apr 2024" "hurl 4.3.0-SNAPSHOT" " Hurl Manual"
.SH NAME
hurlfmt - format Hurl files
diff --git a/docs/spec/options/hurl/max_filesize.option b/docs/spec/options/hurl/max_filesize.option
index 52ddf7da3..0755686d0 100644
--- a/docs/spec/options/hurl/max_filesize.option
+++ b/docs/spec/options/hurl/max_filesize.option
@@ -3,5 +3,6 @@ long: max-filesize
value: BYTES
value_parser: clap::value_parser!(u64)
help: Specify the maximum size (in bytes) of a file to download
+cli_only: true
---
Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
diff --git a/packages/hurl/README.md b/packages/hurl/README.md
index b9d0205c8..0d1fc0506 100644
--- a/packages/hurl/README.md
+++ b/packages/hurl/README.md
@@ -1194,7 +1194,7 @@ will follow a redirection only for the second entry.
| --key <KEY>
| Private key file name.
|
| -L, --location
| Follow redirect. To limit the amount of redirects to follow use the [`--max-redirs`](#max-redirs) option
|
| --location-trusted
| Like [`-L, --location`](#location), but allows sending the name + password to all hosts that the site may redirect to.
This may or may not introduce a security breach if the site redirects you to a site to which you send your authentication info (which is plaintext in the case of HTTP Basic authentication).
|
-| --max-filesize <BYTES>
| Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
|
+| --max-filesize <BYTES>
| Specify the maximum size (in bytes) of a file to download. If the file requested is larger than this value, the transfer does not start.
This is a cli-only option.
|
| --max-redirs <NUM>
| Set maximum number of redirection-followings allowed
By default, the limit is set to 50 redirections. Set this option to -1 to make it unlimited.
|
| -m, --max-time <SECONDS>
| Maximum time in seconds that you allow a request/response to take. This is the standard timeout.
See also [`--connect-timeout`](#connect-timeout).
This is a cli-only option.
|
| -n, --netrc
| Scan the .netrc file in the user's home directory for the username and password.
See also [`--netrc-file`](#netrc-file) and [`--netrc-optional`](#netrc-optional).
|