mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-23 09:27:22 +03:00
fix typo in help msg
This commit is contained in:
parent
f2e9701d0d
commit
3499836b90
@ -145,7 +145,7 @@ reproxy provides 2 endpoints for this purpose:
|
||||
|
||||
```
|
||||
-l, --listen= listen on host:port (default: 127.0.0.1:8080) [$LISTEN]
|
||||
-m, --max= max response size (default: 64000) [$MAX_SIZE]
|
||||
-m, --max= max request size (default: 64000) [$MAX_SIZE]
|
||||
-g, --gzip enable gz compression [$GZIP]
|
||||
-x, --header= proxy headers [$HEADER]
|
||||
--signature enable reproxy signature headers [$SIGNATURE]
|
||||
|
@ -24,7 +24,7 @@ import (
|
||||
|
||||
var opts struct {
|
||||
Listen string `short:"l" long:"listen" env:"LISTEN" default:"127.0.0.1:8080" description:"listen on host:port"`
|
||||
MaxSize int64 `short:"m" long:"max" env:"MAX_SIZE" default:"64000" description:"max response size"`
|
||||
MaxSize int64 `short:"m" long:"max" env:"MAX_SIZE" default:"64000" description:"max request size"`
|
||||
GzipEnabled bool `short:"g" long:"gzip" env:"GZIP" description:"enable gz compression"`
|
||||
ProxyHeaders []string `short:"x" long:"header" env:"HEADER" description:"proxy headers" env-delim:","`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user