Skip to content

Commit

Permalink
add 'cli_only' to 'fresh_connect.option'
Browse files Browse the repository at this point in the history
  • Loading branch information
theoforger committed Nov 13, 2024
1 parent d52dfe8 commit 9d798a0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ will follow a redirection only for the second entry.
| <a href="#delay" id="delay"><code>--delay &lt;MILLISECONDS&gt;</code></a> | 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.<br><br>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.<br> |
| <a href="#error-format" id="error-format"><code>--error-format &lt;FORMAT&gt;</code></a> | Control the format of error message (short by default or long)<br><br>This is a cli-only option.<br> |
| <a href="#file-root" id="file-root"><code>--file-root &lt;DIR&gt;</code></a> | Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.<br>When it is not explicitly defined, files are relative to the Hurl file's directory.<br><br>This is a cli-only option.<br> |
| <a href="#fresh-connect" id="fresh-connect"><code>--fresh-connect</code></a> | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.<br><br>This option should be used with caution and only if you understand what it does as it may impact performance negatively. |
| <a href="#fresh-connect" id="fresh-connect"><code>--fresh-connect</code></a> | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.<br><br>This option should be used with caution and only if you understand what it does as it may impact performance negatively.<br><br>This is a cli-only option.<br> |
| <a href="#from-entry" id="from-entry"><code>--from-entry &lt;ENTRY_NUMBER&gt;</code></a> | Execute Hurl file from ENTRY_NUMBER (starting at 1).<br><br>This is a cli-only option.<br> |
| <a href="#glob" id="glob"><code>--glob &lt;GLOB&gt;</code></a> | Specify input files that match the given glob pattern.<br><br>Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].<br>However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.<br><br>This is a cli-only option.<br> |
| <a href="#http10" id="http10"><code>-0, --http1.0</code></a> | Tells Hurl to use HTTP version 1.0 instead of using its internally preferred HTTP version.<br> |
Expand Down
2 changes: 1 addition & 1 deletion docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ will follow a redirection only for the second entry.
| <a href="#delay" id="delay"><code>--delay &lt;MILLISECONDS&gt;</code></a> | 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.<br><br>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.<br> |
| <a href="#error-format" id="error-format"><code>--error-format &lt;FORMAT&gt;</code></a> | Control the format of error message (short by default or long)<br><br>This is a cli-only option.<br> |
| <a href="#file-root" id="file-root"><code>--file-root &lt;DIR&gt;</code></a> | Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.<br>When it is not explicitly defined, files are relative to the Hurl file's directory.<br><br>This is a cli-only option.<br> |
| <a href="#fresh-connect" id="fresh-connect"><code>--fresh-connect</code></a> | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.<br><br>This option should be used with caution and only if you understand what it does as it may impact performance negatively. |
| <a href="#fresh-connect" id="fresh-connect"><code>--fresh-connect</code></a> | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.<br><br>This option should be used with caution and only if you understand what it does as it may impact performance negatively.<br><br>This is a cli-only option.<br> |
| <a href="#from-entry" id="from-entry"><code>--from-entry &lt;ENTRY_NUMBER&gt;</code></a> | Execute Hurl file from ENTRY_NUMBER (starting at 1).<br><br>This is a cli-only option.<br> |
| <a href="#glob" id="glob"><code>--glob &lt;GLOB&gt;</code></a> | Specify input files that match the given glob pattern.<br><br>Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].<br>However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.<br><br>This is a cli-only option.<br> |
| <a href="#http10" id="http10"><code>-0, --http1.0</code></a> | Tells Hurl to use HTTP version 1.0 instead of using its internally preferred HTTP version.<br> |
Expand Down
4 changes: 3 additions & 1 deletion docs/manual/hurl.1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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 <ENTRY_NUMBER> "

Execute Hurl file from ENTRY_NUMBER (starting at 1).
Expand Down
2 changes: 2 additions & 0 deletions docs/manual/hurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ENTRY_NUMBER> {#from-entry}

Execute Hurl file from ENTRY_NUMBER (starting at 1).
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/hurlfmt.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/spec/options/hurl/fresh_connect.option
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion packages/hurl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ will follow a redirection only for the second entry.
| <a href="#delay" id="delay"><code>--delay &lt;MILLISECONDS&gt;</code></a> | 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.<br><br>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.<br> |
| <a href="#error-format" id="error-format"><code>--error-format &lt;FORMAT&gt;</code></a> | Control the format of error message (short by default or long)<br><br>This is a cli-only option.<br> |
| <a href="#file-root" id="file-root"><code>--file-root &lt;DIR&gt;</code></a> | Set root directory to import files in Hurl. This is used for files in multipart form data, request body and response output.<br>When it is not explicitly defined, files are relative to the Hurl file's directory.<br><br>This is a cli-only option.<br> |
| <a href="#fresh-connect" id="fresh-connect"><code>--fresh-connect</code></a> | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.<br><br>This option should be used with caution and only if you understand what it does as it may impact performance negatively. |
| <a href="#fresh-connect" id="fresh-connect"><code>--fresh-connect</code></a> | Use a new (fresh) connection for each request by force instead of trying to reuse an existing one.<br><br>This option should be used with caution and only if you understand what it does as it may impact performance negatively.<br><br>This is a cli-only option.<br> |
| <a href="#from-entry" id="from-entry"><code>--from-entry &lt;ENTRY_NUMBER&gt;</code></a> | Execute Hurl file from ENTRY_NUMBER (starting at 1).<br><br>This is a cli-only option.<br> |
| <a href="#glob" id="glob"><code>--glob &lt;GLOB&gt;</code></a> | Specify input files that match the given glob pattern.<br><br>Multiple glob flags may be used. This flag supports common Unix glob patterns like *, ? and [].<br>However, to avoid your shell accidentally expanding glob patterns before Hurl handles them, you must use single quotes or double quotes around each pattern.<br><br>This is a cli-only option.<br> |
| <a href="#http10" id="http10"><code>-0, --http1.0</code></a> | Tells Hurl to use HTTP version 1.0 instead of using its internally preferred HTTP version.<br> |
Expand Down

0 comments on commit 9d798a0

Please sign in to comment.