Unverified Commit 4bdd03d2 authored by @RubenKelevra's avatar @RubenKelevra Committed by GitHub

Help text update for 'ipfs key gen'

Add info about the default key type
parent 0f6d6c47
...@@ -63,7 +63,7 @@ var keyGenCmd = &cmds.Command{ ...@@ -63,7 +63,7 @@ var keyGenCmd = &cmds.Command{
Tagline: "Create a new keypair", Tagline: "Create a new keypair",
}, },
Options: []cmds.Option{ 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"), cmds.IntOption(keyStoreSizeOptionName, "s", "size of the key to generate"),
}, },
Arguments: []cmds.Argument{ Arguments: []cmds.Argument{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment