Skip to content

Commit

Permalink
cmd: fix wrong usage in cdc server cli flag, --cert-allowed-cn (#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Apr 28, 2021
1 parent 2448985 commit a681738
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ func addSecurityFlags(flags *pflag.FlagSet, isServer bool) {
flags.StringVar(&certPath, "cert", "", "Certificate path for TLS connection")
flags.StringVar(&keyPath, "key", "", "Private key path for TLS connection")
if isServer {
flags.StringVar(&allowedCertCN, "cert-allowed-cn", "", "Verify caller's identity "+
"(cert Common Name). Use `,` to separate multiple CN")
flags.StringVar(&allowedCertCN, "cert-allowed-cn", "", "Verify caller's identity (cert Common Name). Use ',' to separate multiple CN")
}
}

Expand Down

0 comments on commit a681738

Please sign in to comment.