1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 17:36:38 +08:00

fix fmt and exported var that shouldn't be

License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
This commit is contained in:
Michael Muré
2017-05-01 21:54:24 +09:00
parent 4d4d7b8e08
commit 730ab6115c

View File

@ -33,9 +33,9 @@ var KeyCmd = &cmds.Command{
`, `,
}, },
Subcommands: map[string]*cmds.Command{ Subcommands: map[string]*cmds.Command{
"gen": KeyGenCmd, "gen": keyGenCmd,
"list": KeyListCmd, "list": keyListCmd,
"rm": KeyRmCmd, "rm": keyRmCmd,
}, },
} }
@ -48,7 +48,7 @@ type KeyOutputList struct {
Keys []KeyOutput Keys []KeyOutput
} }
var KeyGenCmd = &cmds.Command{ var keyGenCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Create a new keypair", Tagline: "Create a new keypair",
}, },
@ -151,7 +151,7 @@ var KeyGenCmd = &cmds.Command{
Type: KeyOutput{}, Type: KeyOutput{},
} }
var KeyListCmd = &cmds.Command{ var keyListCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "List all local keypairs", Tagline: "List all local keypairs",
}, },
@ -203,7 +203,7 @@ var KeyListCmd = &cmds.Command{
Type: KeyOutputList{}, Type: KeyOutputList{},
} }
var KeyRmCmd = &cmds.Command{ var keyRmCmd = &cmds.Command{
Helptext: cmds.HelpText{ Helptext: cmds.HelpText{
Tagline: "Remove a keypair", Tagline: "Remove a keypair",
}, },