From eac5a99314c47ccc460e8a95130be3266e67dd3d Mon Sep 17 00:00:00 2001 From: Andrew Martinez Date: Wed, 3 Feb 2021 17:04:51 -0500 Subject: [PATCH] spelling --- common/enrollment/enroll.go | 4 ++-- ziti-enroller/subcmd/root.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/enrollment/enroll.go b/common/enrollment/enroll.go index 06f76443c..53fe1a17c 100644 --- a/common/enrollment/enroll.go +++ b/common/enrollment/enroll.go @@ -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) diff --git a/ziti-enroller/subcmd/root.go b/ziti-enroller/subcmd/root.go index 1547dc66d..61ee594fc 100644 --- a/ziti-enroller/subcmd/root.go +++ b/ziti-enroller/subcmd/root.go @@ -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)