diff --git a/config/cli.go b/config/cli.go index 794a9d3..0977306 100644 --- a/config/cli.go +++ b/config/cli.go @@ -27,7 +27,7 @@ Usage with all flags: -u https://example.com -m POST \ -d 10 -r 1000 -t 3s \ -b "body1" -body "body2" \ - -H "header1: value1" -header "header2: value2" \ + -H "header1:value1" -header "header2:value2" \ -p "param1=value1" -param "param2=value2" \ -c "cookie1=value1" -cookie "cookie2=value2" \ -x "http://proxy.example.com:8080" -proxy "socks5://proxy2.example.com:8080" \ diff --git a/main.go b/main.go index da7a240..5e99a86 100644 --- a/main.go +++ b/main.go @@ -36,9 +36,6 @@ func main() { utils.PrintErrAndExit(errors.Join(errs...)) } - // for _, param := range conf.Params { - // fmt.Printf("%s: %v\n", param.Key, param.Value) - // } requestConf := config.NewRequestConfig(conf) requestConf.Print() diff --git a/output.txt b/output.txt deleted file mode 100644 index e69de29..0000000