Skip to content

Commit 04d77d9

Browse files
committed
fix: add short flag for csv option
1 parent 59adfd6 commit 04d77d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ func ParseOptions() *Options {
483483
flagSet.BoolVarP(&options.StoreResponse, "store-response", "sr", false, "store http response to output directory"),
484484
flagSet.StringVarP(&options.StoreResponseDir, "store-response-dir", "srd", "", "store http response to custom directory"),
485485
flagSet.BoolVarP(&options.OmitBody, "omit-body", "ob", false, "omit response body in output"),
486-
flagSet.BoolVar(&options.CSVOutput, "csv", false, "store output in csv format"),
486+
flagSet.BoolVarP(&options.CSVOutput, "csv", "c", false, "store output in csv format"),
487487
flagSet.StringVarP(&options.CSVOutputEncoding, "csv-output-encoding", "csvo", "", "define output encoding"),
488488
flagSet.BoolVarP(&options.JSONOutput, "json", "j", false, "store output in JSONL(ines) format"),
489489
flagSet.BoolVarP(&options.ResponseHeadersInStdout, "include-response-header", "irh", false, "include http response (headers) in JSON output (-json only)"),

0 commit comments

Comments
 (0)