diff --git a/cmd/processor_base64-decode.go b/cmd/processor_base64-decode.go index 756171c..4eb07de 100644 --- a/cmd/processor_base64-decode.go +++ b/cmd/processor_base64-decode.go @@ -20,7 +20,7 @@ func init() { var base64DecodeCmd = &cobra.Command{ Use: "base64-decode [string]", - Short: "Decode your base64 text", + Short: "Decode your Base64 text", Aliases: []string{"b64-dec", "b64-decode"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_base64url-decode.go b/cmd/processor_base64url-decode.go index ab82fe8..095f52f 100644 --- a/cmd/processor_base64url-decode.go +++ b/cmd/processor_base64url-decode.go @@ -20,7 +20,7 @@ func init() { var base64UrlDecodeCmd = &cobra.Command{ Use: "base64url-decode [string]", - Short: "Decode your base64 text with URL Safe", + Short: "Decode your Base64 text with URL Safe", Aliases: []string{"b64url-dec", "b64url-decode"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_bcrypt.go b/cmd/processor_bcrypt.go index baea0b5..8d954f1 100644 --- a/cmd/processor_bcrypt.go +++ b/cmd/processor_bcrypt.go @@ -20,7 +20,7 @@ func init() { var bcryptCmd = &cobra.Command{ Use: "bcrypt [string]", - Short: "Get the Bcrypt hash of your text", + Short: "Get the bcrypt hash of your text", Aliases: []string{"bcrypt-hash"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_escape-quotes.go b/cmd/processor_escape-quotes.go index cc54397..442198e 100644 --- a/cmd/processor_escape-quotes.go +++ b/cmd/processor_escape-quotes.go @@ -11,13 +11,13 @@ import ( "github.com/spf13/cobra" ) -var ( - escapeQuotes_flag_d bool +var ( + escapeQuotes_flag_d bool escapeQuotes_flag_s bool ) -func init() { - escapeQuotesCmd.Flags().BoolVarP(&escapeQuotes_flag_d, "double-quote", "d", true, "Escape double quote") +func init() { + escapeQuotesCmd.Flags().BoolVarP(&escapeQuotes_flag_d, "double-quote", "d", true, "Escape double quote") escapeQuotesCmd.Flags().BoolVarP(&escapeQuotes_flag_s, "single-quote", "s", true, "Escape single quote") rootCmd.AddCommand(escapeQuotesCmd) } diff --git a/cmd/processor_morse-encode.go b/cmd/processor_morse-encode.go index 127ad3d..d510650 100644 --- a/cmd/processor_morse-encode.go +++ b/cmd/processor_morse-encode.go @@ -18,7 +18,7 @@ func init() { var morseEncodeCmd = &cobra.Command{ Use: "morse-encode [string]", Short: "Decode Morse Code to text", - Aliases: []string{"morse-enc", "morse-encode", "morse-code-encode", "morse-code-enc"}, + Aliases: []string{"morse-dec", "morse-decode", "morse-code-decode", "morse-code-dec"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { var err error diff --git a/cmd/processor_sha1.go b/cmd/processor_sha1.go index b2847c7..b02c736 100644 --- a/cmd/processor_sha1.go +++ b/cmd/processor_sha1.go @@ -17,7 +17,7 @@ func init() { var sha1Cmd = &cobra.Command{ Use: "sha1 [string]", - Short: "Get the SHA1 checksum of your text", + Short: "Get the SHA-1 checksum of your text", Aliases: []string{"sha1-sum"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_sha224.go b/cmd/processor_sha224.go index 8d479f7..9af3c15 100644 --- a/cmd/processor_sha224.go +++ b/cmd/processor_sha224.go @@ -17,7 +17,7 @@ func init() { var sha224Cmd = &cobra.Command{ Use: "sha224 [string]", - Short: "Get the SHA224 checksum of your text", + Short: "Get the SHA-224 checksum of your text", Aliases: []string{"sha224-sum"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_sha256.go b/cmd/processor_sha256.go index f48d381..921812e 100644 --- a/cmd/processor_sha256.go +++ b/cmd/processor_sha256.go @@ -17,7 +17,7 @@ func init() { var sha256Cmd = &cobra.Command{ Use: "sha256 [string]", - Short: "Get the SHA256 checksum of your text", + Short: "Get the SHA-256 checksum of your text", Aliases: []string{"sha256-sum"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_sha384.go b/cmd/processor_sha384.go index 8b36a81..932d668 100644 --- a/cmd/processor_sha384.go +++ b/cmd/processor_sha384.go @@ -17,7 +17,7 @@ func init() { var sha384Cmd = &cobra.Command{ Use: "sha384 [string]", - Short: "Get the SHA384 checksum of your text", + Short: "Get the SHA-384 checksum of your text", Aliases: []string{"sha384-sum"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/processor_sha512.go b/cmd/processor_sha512.go index 67db743..3d60d1b 100644 --- a/cmd/processor_sha512.go +++ b/cmd/processor_sha512.go @@ -17,7 +17,7 @@ func init() { var sha512Cmd = &cobra.Command{ Use: "sha512 [string]", - Short: "Get the SHA512 checksum of your text", + Short: "Get the SHA-512 checksum of your text", Aliases: []string{"sha512-sum"}, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error {