mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
core/commands2: Fixed init option definition
This commit is contained in:

committed by
Juan Batiz-Benet

parent
3e507f7c9f
commit
17c5923160
@ -20,7 +20,7 @@ var initCmd = &cmds.Command{
|
|||||||
`,
|
`,
|
||||||
|
|
||||||
Options: []cmds.Option{
|
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.StringOption("passphrase", "p", "Passphrase for encrypting the private key"),
|
||||||
cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)"),
|
cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)"),
|
||||||
cmds.StringOption("datastore", "d", "Location for the IPFS data store"),
|
cmds.StringOption("datastore", "d", "Location for the IPFS data store"),
|
||||||
|
Reference in New Issue
Block a user