mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
fix: wrong CLI flag type (#2595)
This commit is contained in:
parent
f54baa83ac
commit
833d3b8147
2 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ func CreateFlags(defaultPath string) []cli.Flag {
|
|||
EnvVars: []string{envEmail},
|
||||
Usage: "Email used for registration and recovery contact.",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
&cli.BoolFlag{
|
||||
Name: flgDisableCommonName,
|
||||
EnvVars: []string{flgDisableCommonName},
|
||||
Usage: "Disable the use of the common name in the CSR.",
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ GLOBAL OPTIONS:
|
|||
--server value, -s value CA hostname (and optionally :port). The server certificate must be trusted in order to avoid further modifications to the client. (default: "https://acme-v02.api.letsencrypt.org/directory") [$LEGO_SERVER]
|
||||
--accept-tos, -a By setting this flag to true you indicate that you accept the current Let's Encrypt terms of service. (default: false)
|
||||
--email value, -m value Email used for registration and recovery contact. [$LEGO_EMAIL]
|
||||
--disable-cn value Disable the use of the common name in the CSR. [$disable-cn]
|
||||
--disable-cn Disable the use of the common name in the CSR. (default: false) [$disable-cn]
|
||||
--csr value, -c value Certificate signing request filename, if an external CSR is to be used.
|
||||
--eab Use External Account Binding for account registration. Requires --kid and --hmac. (default: false) [$LEGO_EAB]
|
||||
--kid value Key identifier from External CA. Used for External Account Binding. [$LEGO_EAB_KID]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue