Skip to content

Commit

Permalink
refactor(client/keys): keys show command help message (backport #18939
Browse files Browse the repository at this point in the history
) (#18947)

Co-authored-by: hattizai <150505746+hattizai@users.noreply.github.com>
  • Loading branch information
mergify[bot] and hattizai committed Jan 6, 2024
1 parent 336adf7 commit b2c506b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/keys/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ consisting of all the keys provided by name and multisig threshold.`,
}
f := cmd.Flags()
f.String(FlagBechPrefix, sdk.PrefixAccount, "The Bech32 prefix encoding for a key (acc|val|cons)")
f.BoolP(FlagAddress, "a", false, "Output the address only (overrides --output)")
f.BoolP(FlagPublicKey, "p", false, "Output the public key only (overrides --output)")
f.BoolP(FlagDevice, "d", false, "Output the address in a ledger device")
f.BoolP(FlagAddress, "a", false, "Output the address only (cannot be used with --output)")
f.BoolP(FlagPublicKey, "p", false, "Output the public key only (cannot be used with --output)")
f.BoolP(FlagDevice, "d", false, "Output the address in a ledger device (cannot be used with --pubkey)")
f.Int(flagMultiSigThreshold, 1, "K out of N required signatures")

return cmd
Expand Down

0 comments on commit b2c506b

Please sign in to comment.