From 930cd8ea5db61c376625f7e583323a79518b13b7 Mon Sep 17 00:00:00 2001 From: Etienne Laurin <etienne@atnnn.com> Date: Sat, 25 Apr 2015 04:43:23 +0000 Subject: [PATCH] Mention correct key size in help for init --- cmd/ipfs/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ipfs/init.go b/cmd/ipfs/init.go index fb506454c..560854426 100644 --- a/cmd/ipfs/init.go +++ b/cmd/ipfs/init.go @@ -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 -- GitLab