Skip to content

Commit 137ad86

Browse files
authored
fix: remove wrong env var (#2600)
1 parent c689b20 commit 137ad86

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cmd/flags.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,8 @@ func CreateFlags(defaultPath string) []cli.Flag {
9090
Usage: "Email used for registration and recovery contact.",
9191
},
9292
&cli.BoolFlag{
93-
Name: flgDisableCommonName,
94-
EnvVars: []string{flgDisableCommonName},
95-
Usage: "Disable the use of the common name in the CSR.",
93+
Name: flgDisableCommonName,
94+
Usage: "Disable the use of the common name in the CSR.",
9695
},
9796
&cli.StringFlag{
9897
Name: flgCSR,

docs/data/zz_cli_help.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GLOBAL OPTIONS:
2323
--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]
2424
--accept-tos, -a By setting this flag to true you indicate that you accept the current Let's Encrypt terms of service. (default: false)
2525
--email value, -m value Email used for registration and recovery contact. [$LEGO_EMAIL]
26-
--disable-cn Disable the use of the common name in the CSR. (default: false) [$disable-cn]
26+
--disable-cn Disable the use of the common name in the CSR. (default: false)
2727
--csr value, -c value Certificate signing request filename, if an external CSR is to be used.
2828
--eab Use External Account Binding for account registration. Requires --kid and --hmac. (default: false) [$LEGO_EAB]
2929
--kid value Key identifier from External CA. Used for External Account Binding. [$LEGO_EAB_KID]

0 commit comments

Comments
 (0)