Skip to content

Commit

Permalink
[1760]: Add the alias e to the provenacned metaaddress encode command…
Browse files Browse the repository at this point in the history
… since decode has an alias of d.
  • Loading branch information
SpicyLemon committed May 15, 2024
1 parent fbd1c9b commit 4284406
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/provenanced/cmd/addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4284406

Please sign in to comment.