Fix incorrect struct tag for Certs field in runArgs

This commit is contained in:
2025-08-20 03:03:42 +01:00
parent 825420644b
commit b8072065f2

View File

@@ -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 {