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

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
hattizai 2024-01-05 01:24:51 +08:00 committed by GitHub
parent 6ec53aaf54
commit 7fbca40059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,9 +47,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")
f.Bool(flagQRCode, false, "Display key address QR code (will be ignored if -a or --address is false)")