mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
Merge pull request #1137 from AtnNn/init
Mention correct key size in help for init
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user