docs: say that a dry run still sends a script's own requests

This commit is contained in:
aykhans committed 2026-10-01 22:43:24 +04:00
1 parent cd0fa453c2
commit bea48eeab0
2 files changed
+5 -3

No files matched your search

+2
View File
@@ -234,6 +234,8 @@ Using `none` disables output and reduces memory usage since response statistics
Generate requests without sending them. Useful for testing templates.
A script's own `http` calls are still sent, since a script needs them to build the request you are inspecting. Only the requests sarin generates are held back.
## Insecure
Skip TLS certificate verification.
+3 -3
View File
@@ -31,7 +31,7 @@ Flags:
-w, -log-file string Write runtime logs to this file instead of the terminal/stderr
-p, -progress string Progress display (possible values: bar, none) (default '%v')
-o, -output string Output format (possible values: table, json, yaml, none) (default '%v')
-z, -dry-run bool Run without sending requests (default %v)
-z, -dry-run bool Run without sending the generated requests (default %v)
Request Config:
-U, -url string Target URL for the request
@@ -145,8 +145,8 @@ func (parser ConfigCLIParser) Parse() (*Config, error) {
flagSet.StringVar(&output, "output", "", "Output format (possible values: table, json, yaml, none)")
flagSet.StringVar(&output, "o", "", "Output format (possible values: table, json, yaml, none)")
flagSet.BoolVar(&dryRun, "dry-run", false, "Run without sending requests")
flagSet.BoolVar(&dryRun, "z", false, "Run without sending requests")
flagSet.BoolVar(&dryRun, "dry-run", false, "Run without sending the generated requests")
flagSet.BoolVar(&dryRun, "z", false, "Run without sending the generated requests")
// Request config
flagSet.StringVar(&urlInput, "url", "", "Target URL for the request")