This commit is contained in:
Bel LaPointe
2026-09-09 07:29:53 -07:00
parent 29a317714f
commit 1f76e3ff2f
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func NewConfig() (Config, error) {
fs.StringVar(&c.Cert.CRT, "crt", "", "path to .crt")
fs.StringVar(&c.Cert.Key, "key", "", "path to .key")
fs.IntVar(&c.Port, "p", 56112, "port to listen on")
f := fs.String("f", "/dev/null", `file of {domains:{com:{google:{to: scheme://host:port, basicAuth: u:p, redir: false}}}}`)
f := fs.String("f", "/dev/null", `file of {domains:{.google.com:{mail:{to: scheme://host:port, basicAuth: u:p, redir: false}}}}`)
if err := fs.Parse(os.Args[1:]); err != nil {
return c, err
}