Skip to content

Commit

Permalink
Merge pull request #25 from gwillem/fix-cli-help
Browse files Browse the repository at this point in the history
Fix CLI help
  • Loading branch information
alexflint authored Feb 5, 2025
2 parents 97acfe3 + c849e7a commit 7f07de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httptap.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ func Main() error {
Stack string `arg:"env:HTTPTAP_STACK" default:"gvisor" help:"which tcp implementation to use: 'gvisor' or 'homegrown'"`
DumpTCP bool `arg:"--dump-tcp,env:HTTPTAP_DUMP_TCP" help:"dump all TCP packets sent and received to standard out"`
DumpHAR string `arg:"--dump-har,env:HTTPTAP_DUMP_HAR" help:"path to dump HAR capture to"`
HTTPPorts []int `arg:"--http" help:"list of TCP ports to intercept HTTPS traffic on"`
HTTPSPorts []int `arg:"--https" help:"list of TCP ports to intercept HTTP traffic on"`
HTTPPorts []int `arg:"--http" help:"list of TCP ports to intercept HTTP traffic on"`
HTTPSPorts []int `arg:"--https" help:"list of TCP ports to intercept HTTPS traffic on"`
Head bool `help:"whether to include HTTP headers in terminal output"`
Body bool `help:"whether to include HTTP payloads in terminal output"`
Command []string `arg:"positional"`
Expand Down

0 comments on commit 7f07de8

Please sign in to comment.