diff --git a/README.md b/README.md index f149d4ccc55..04009aee6ca 100644 --- a/README.md +++ b/README.md @@ -1233,7 +1233,7 @@ will follow a redirection only for the second entry. | --delay <MILLISECONDS> | Sets delay before each request. The delay is not applied to requests that have been retried because of [`--retry`](#retry). See [`--retry-interval`](#retry-interval) to space retried requests.

You can specify time units in the delay expression. Set Hurl to use a delay of 2 seconds with `--delay 2s` or set it to 500 milliseconds with `--delay 500ms`. No spaces allowed.
| | --error-format <FORMAT> | Control the format of error message (short by default or long)

This is a cli-only option.
| | --file-root <DIR> | Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.
When it is not explicitly defined, files are relative to the Hurl file's directory.

This is a cli-only option.
| -| --fresh-connect | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.

This option should be used with caution and only if you understand what it does as it may impact performance negatively. | +| --fresh-connect | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.

This option should be used with caution and only if you understand what it does as it may impact performance negatively.

This is a cli-only option.
| | --from-entry <ENTRY_NUMBER> | Execute Hurl file from ENTRY_NUMBER (starting at 1).

This is a cli-only option.
| | --glob <GLOB> | Specify input files that match the given glob pattern.

Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].
However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.

This is a cli-only option.
| | -0, --http1.0 | Tells Hurl to use HTTP version 1.0 instead of using its internally preferred HTTP version.
| diff --git a/docs/manual.md b/docs/manual.md index 62dbdde8885..6ded35254e7 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -163,7 +163,7 @@ will follow a redirection only for the second entry. | --delay <MILLISECONDS> | Sets delay before each request. The delay is not applied to requests that have been retried because of [`--retry`](#retry). See [`--retry-interval`](#retry-interval) to space retried requests.

You can specify time units in the delay expression. Set Hurl to use a delay of 2 seconds with `--delay 2s` or set it to 500 milliseconds with `--delay 500ms`. No spaces allowed.
| | --error-format <FORMAT> | Control the format of error message (short by default or long)

This is a cli-only option.
| | --file-root <DIR> | Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.
When it is not explicitly defined, files are relative to the Hurl file's directory.

This is a cli-only option.
| -| --fresh-connect | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.

This option should be used with caution and only if you understand what it does as it may impact performance negatively. | +| --fresh-connect | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.

This option should be used with caution and only if you understand what it does as it may impact performance negatively.

This is a cli-only option.
| | --from-entry <ENTRY_NUMBER> | Execute Hurl file from ENTRY_NUMBER (starting at 1).

This is a cli-only option.
| | --glob <GLOB> | Specify input files that match the given glob pattern.

Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].
However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.

This is a cli-only option.
| | -0, --http1.0 | Tells Hurl to use HTTP version 1.0 instead of using its internally preferred HTTP version.
| diff --git a/docs/manual/hurl.1 b/docs/manual/hurl.1 index 5e9942489c0..94070112d36 100644 --- a/docs/manual/hurl.1 +++ b/docs/manual/hurl.1 @@ -1,4 +1,4 @@ -.TH hurl 1 "12 Nov 2024" "hurl 6.0.0-SNAPSHOT" " Hurl Manual" +.TH hurl 1 "13 Nov 2024" "hurl 6.0.0-SNAPSHOT" " Hurl Manual" .SH NAME hurl - run and test HTTP requests. @@ -228,6 +228,8 @@ Use a new (fresh) connection for each request by force instead of trying to reus This option should be used with caution and only if you understand what it does as it may impact performance negatively. +This is a cli-only option. + .IP "--from-entry " Execute Hurl file from ENTRY_NUMBER (starting at 1). diff --git a/docs/manual/hurl.md b/docs/manual/hurl.md index 9dff4b2c55a..61541fcf652 100644 --- a/docs/manual/hurl.md +++ b/docs/manual/hurl.md @@ -247,6 +247,8 @@ Use a new (fresh) connection for each request by force instead of trying to reus This option should be used with caution and only if you understand what it does as it may impact performance negatively. +This is a cli-only option. + ### --from-entry {#from-entry} Execute Hurl file from ENTRY_NUMBER (starting at 1). diff --git a/docs/manual/hurlfmt.1 b/docs/manual/hurlfmt.1 index 6066a0964d9..98b8a8d0fec 100644 --- a/docs/manual/hurlfmt.1 +++ b/docs/manual/hurlfmt.1 @@ -1,4 +1,4 @@ -.TH hurl 1 "11 Nov 2024" "hurl 6.0.0-SNAPSHOT" " Hurl Manual" +.TH hurl 1 "13 Nov 2024" "hurl 6.0.0-SNAPSHOT" " Hurl Manual" .SH NAME hurlfmt - format Hurl files diff --git a/docs/spec/options/hurl/fresh_connect.option b/docs/spec/options/hurl/fresh_connect.option index 09f1a886639..65d2c531f1f 100644 --- a/docs/spec/options/hurl/fresh_connect.option +++ b/docs/spec/options/hurl/fresh_connect.option @@ -2,6 +2,7 @@ name: fresh_connect long: fresh-connect help: Use a new connection for each request help_heading: HTTP options +cli_only: true --- Use a new (fresh) connection for each request by force instead of trying to reuse an existing one. diff --git a/packages/hurl/README.md b/packages/hurl/README.md index 724d683b121..c12fab25b28 100644 --- a/packages/hurl/README.md +++ b/packages/hurl/README.md @@ -1233,7 +1233,7 @@ will follow a redirection only for the second entry. | --delay <MILLISECONDS> | Sets delay before each request. The delay is not applied to requests that have been retried because of [`--retry`](#retry). See [`--retry-interval`](#retry-interval) to space retried requests.

You can specify time units in the delay expression. Set Hurl to use a delay of 2 seconds with `--delay 2s` or set it to 500 milliseconds with `--delay 500ms`. No spaces allowed.
| | --error-format <FORMAT> | Control the format of error message (short by default or long)

This is a cli-only option.
| | --file-root <DIR> | Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.
When it is not explicitly defined, files are relative to the Hurl file's directory.

This is a cli-only option.
| -| --fresh-connect | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.

This option should be used with caution and only if you understand what it does as it may impact performance negatively. | +| --fresh-connect | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.

This option should be used with caution and only if you understand what it does as it may impact performance negatively.

This is a cli-only option.
| | --from-entry <ENTRY_NUMBER> | Execute Hurl file from ENTRY_NUMBER (starting at 1).

This is a cli-only option.
| | --glob <GLOB> | Specify input files that match the given glob pattern.

Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].
However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.

This is a cli-only option.
| | -0, --http1.0 | Tells Hurl to use HTTP version 1.0 instead of using its internally preferred HTTP version.
|