update help

This commit is contained in:
Bel LaPointe
2026-09-09 07:23:54 -07:00
parent a4e61a8950
commit 92d8c334a2
+1 -1
View File
@@ -34,7 +34,7 @@ func NewConfig() (Config, error) {
fs.StringVar(&c.Cert.CRT, "crt", "", "path to .crt") fs.StringVar(&c.Cert.CRT, "crt", "", "path to .crt")
fs.StringVar(&c.Cert.Key, "key", "", "path to .key") fs.StringVar(&c.Cert.Key, "key", "", "path to .key")
fs.IntVar(&c.Port, "p", 56112, "port to listen on") fs.IntVar(&c.Port, "p", 56112, "port to listen on")
f := fs.String("f", "/dev/null", `file of {domain:{"":{"": {to:"", basicAuth:""}}}}`) f := fs.String("f", "/dev/null", `file of {domains:{.com:{google:{to: scheme://host:port, basicAuth: u:p, redir: false}}}}`)
if err := fs.Parse(os.Args[1:]); err != nil { if err := fs.Parse(os.Args[1:]); err != nil {
return c, err return c, err
} }