Help text update for 'ipfs key gen'

Add info about the default key type
This commit is contained in:
@RubenKelevra 2020-02-04 13:58:05 +01:00 committed by GitHub
parent 0f6d6c47be
commit 4bdd03d2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ var keyGenCmd = &cmds.Command{
Tagline: "Create a new keypair",
},
Options: []cmds.Option{
cmds.StringOption(keyStoreTypeOptionName, "t", "type of the key to create [rsa, ed25519]").WithDefault("rsa"),
cmds.StringOption(keyStoreTypeOptionName, "t", "type of the key to create: rsa, ed25519. Default: rsa").WithDefault("rsa"),
cmds.IntOption(keyStoreSizeOptionName, "s", "size of the key to generate"),
},
Arguments: []cmds.Argument{