1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 05:52:20 +08:00

Mention correct key size in help for init

This commit is contained in:
Etienne Laurin
2015-04-25 04:43:23 +00:00
parent 1d5f68cdc6
commit 930cd8ea5d

View File

@ -27,7 +27,7 @@ var initCmd = &cmds.Command{
},
Options: []cmds.Option{
cmds.IntOption("bits", "b", "Number of bits to use in the generated RSA private key (defaults to 4096)"),
cmds.IntOption("bits", "b", fmt.Sprintf("Number of bits to use in the generated RSA private key (defaults to %d)", nBitsForKeypairDefault)),
cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)"),
// TODO need to decide whether to expose the override as a file or a