From 17c59231603066d656bfcfa76c7cee40b1e7f605 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Mon, 10 Nov 2014 22:32:22 -0800 Subject: [PATCH] core/commands2: Fixed init option definition --- cmd/ipfs2/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ipfs2/init.go b/cmd/ipfs2/init.go index d06525aec..eb4b0d423 100644 --- a/cmd/ipfs2/init.go +++ b/cmd/ipfs2/init.go @@ -20,7 +20,7 @@ var initCmd = &cmds.Command{ `, Options: []cmds.Option{ - cmds.UintOption("bits", "b", "Number of bits to use in the generated RSA private key (defaults to 4096)"), + cmds.IntOption("bits", "b", "Number of bits to use in the generated RSA private key (defaults to 4096)"), cmds.StringOption("passphrase", "p", "Passphrase for encrypting the private key"), cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)"), cmds.StringOption("datastore", "d", "Location for the IPFS data store"),