mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
spelling
This commit is contained in:
@@ -92,9 +92,9 @@ func NewEnrollCommand() *cobra.Command {
|
||||
var keyDesc = ""
|
||||
engines := certtools.ListEngines()
|
||||
if len(engines) > 0 {
|
||||
keyDesc = fmt.Sprintf("The key to use with the certifcate. Optionally specify the engine to use. supported engines: %v", engines)
|
||||
keyDesc = fmt.Sprintf("The key to use with the certificate. Optionally specify the engine to use. supported engines: %v", engines)
|
||||
} else {
|
||||
keyDesc = fmt.Sprintf("The key to use with the certifcate.")
|
||||
keyDesc = fmt.Sprintf("The key to use with the certificate.")
|
||||
}
|
||||
|
||||
enrollSubCmd.Flags().StringVarP(&keyPath, "key", "k", "", keyDesc)
|
||||
|
||||
@@ -53,9 +53,9 @@ func init() {
|
||||
var keyDesc = ""
|
||||
engines := certtools.ListEngines()
|
||||
if len(engines) > 0 {
|
||||
keyDesc = fmt.Sprintf("The key to use with the certifcate. Optionally specify the engine to use. supported engines: %v", engines)
|
||||
keyDesc = fmt.Sprintf("The key to use with the certificate. Optionally specify the engine to use. supported engines: %v", engines)
|
||||
} else {
|
||||
keyDesc = fmt.Sprintf("The key to use with the certifcate.")
|
||||
keyDesc = fmt.Sprintf("The key to use with the certificate.")
|
||||
}
|
||||
|
||||
rootCmd.Flags().StringVarP(&keyPath, "key", "k", "", keyDesc)
|
||||
|
||||
Reference in New Issue
Block a user