flag.BoolVar(&certmagic.Agreed,"agree",false,"Agree to the CA's Subscriber Agreement")
flag.BoolVar(&certmagic.Default.Agreed,"agree",false,"Agree to the CA's Subscriber Agreement")
flag.StringVar(&certmagic.CA,"ca",certmagic.CA,"URL to certificate authority's ACME server directory")
flag.StringVar(&certmagic.Default.CA,"ca",certmagic.Default.CA,"URL to certificate authority's ACME server directory")
flag.StringVar(&certmagic.DefaultServerName,"default-sni",certmagic.DefaultServerName,"If a ClientHello ServerName is empty, use this ServerName to choose a TLS certificate")
flag.StringVar(&certmagic.Default.DefaultServerName,"default-sni",certmagic.Default.DefaultServerName,"If a ClientHello ServerName is empty, use this ServerName to choose a TLS certificate")
flag.BoolVar(&certmagic.DisableHTTPChallenge,"disable-http-challenge",certmagic.DisableHTTPChallenge,"Disable the ACME HTTP challenge")
flag.BoolVar(&certmagic.Default.DisableHTTPChallenge,"disable-http-challenge",certmagic.Default.DisableHTTPChallenge,"Disable the ACME HTTP challenge")
flag.BoolVar(&certmagic.DisableTLSALPNChallenge,"disable-tls-alpn-challenge",certmagic.DisableTLSALPNChallenge,"Disable the ACME TLS-ALPN challenge")
flag.BoolVar(&certmagic.Default.DisableTLSALPNChallenge,"disable-tls-alpn-challenge",certmagic.Default.DisableTLSALPNChallenge,"Disable the ACME TLS-ALPN challenge")
flag.StringVar(&disabledMetrics,"disabled-metrics","","Comma-separated list of telemetry metrics to disable")
flag.StringVar(&disabledMetrics,"disabled-metrics","","Comma-separated list of telemetry metrics to disable")
flag.StringVar(&conf,"conf","","Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")")
flag.StringVar(&conf,"conf","","Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")")
flag.StringVar(&cpu,"cpu","100%","CPU cap")
flag.StringVar(&cpu,"cpu","100%","CPU cap")
...
@@ -57,7 +57,7 @@ func init() {
...
@@ -57,7 +57,7 @@ func init() {
flag.StringVar(&envFile,"envfile","","Path to file with environment variables to load in KEY=VALUE format")
flag.StringVar(&envFile,"envfile","","Path to file with environment variables to load in KEY=VALUE format")
flag.BoolVar(&fromJSON,"json-to-caddyfile",false,"From JSON stdin to Caddyfile stdout")
flag.BoolVar(&fromJSON,"json-to-caddyfile",false,"From JSON stdin to Caddyfile stdout")