From 428440605c8dc4a903599fe059bbd8df70400657 Mon Sep 17 00:00:00 2001 From: Daniel Wedul Date: Wed, 15 May 2024 14:06:58 -0600 Subject: [PATCH] [1760]: Add the alias e to the provenacned metaaddress encode command since decode has an alias of d. --- cmd/provenanced/cmd/addresses.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/provenanced/cmd/addresses.go b/cmd/provenanced/cmd/addresses.go index 7159b5f0f1..11c0110e19 100644 --- a/cmd/provenanced/cmd/addresses.go +++ b/cmd/provenanced/cmd/addresses.go @@ -102,8 +102,9 @@ Excess (hex): %s // AddMetaAddressEncoder returns metadata address encoder cobra Command. func AddMetaAddressEncoder() *cobra.Command { cmd := &cobra.Command{ - Use: "encode [type] [uuid] [uuid|name]", - Short: "Encodes metadata uuids to bech32 address for specific type", + Use: "encode [type] [uuid] [uuid|name]", + Aliases: []string{"e"}, + Short: "Encodes metadata uuids to bech32 address for specific type", Long: fmt.Sprintf(`Encodes metadata uuids to bech32 address for specific type. %[1]s encode type uuid [uuid|name]