refactor(client/keys): keys show command help message (backport #18939) (#18947)

Co-authored-by: hattizai <150505746+hattizai@users.noreply.github.com>
This commit is contained in:
mergify[bot] 2024-01-06 12:52:27 +01:00 committed by GitHub
parent 336adf7e32
commit b2c506b12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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