@cryptotaxi247 / kubo / commits / 930cd8ea5

Mention correct key size in help for init

Etienne Laurin committed Apr 25, 2015 at 04:43 UTC 930cd8ea5db61c376625f7e583323a79518b13b7
1 file changed +1 -1
cmd/ipfs/init.go
+1 -1
@@ -27,7 +27,7 @@ var initCmd = &cmds.Command{
27 },
28
29 Options: []cmds.Option{
30 - cmds.IntOption("bits", "b", "Number of bits to use in the generated RSA private key (defaults to 4096)"),
30 + cmds.IntOption("bits", "b", fmt.Sprintf("Number of bits to use in the generated RSA private key (defaults to %d)", nBitsForKeypairDefault)),
31 cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)"),
32
33 // TODO need to decide whether to expose the override as a file or a