Fix incorrect struct tag for Certs field in runArgs
This commit is contained in:
2
main.go
2
main.go
@@ -57,7 +57,7 @@ type runArgs struct {
|
||||
RTo time.Duration `flag:"rto,maximum duration before timing out read of the request"`
|
||||
WTo time.Duration `flag:"wto,maximum duration before timing out write of the response"`
|
||||
Idle time.Duration `flag:"idle,how long idle connection is kept before closing (set rto, wto to 0 to use this)"`
|
||||
Certs []string `arg:"--cert,separate" help:"certificates and the domain they match: eg: mleku.dev:/path/to/cert - this will indicate to load two, one with extension .key and one with .crt, each expected to be PEM encoded TLS private and public keys, respectively"`
|
||||
Certs []string `flag:"cert" help:"certificates and the domain they match: eg: mleku.dev:/path/to/cert - this will indicate to load two, one with extension .key and one with .crt, each expected to be PEM encoded TLS private and public keys, respectively"`
|
||||
}
|
||||
|
||||
func run(ctx context.Context, args runArgs) error {
|
||||
|
||||
Reference in New Issue
Block a user