cmd/ipfs2: Changed command variable naming convention

This commit is contained in:
Matt Bell 2014-10-29 21:12:34 -07:00 committed by Juan Batiz-Benet
parent 9fb20dabb3
commit decda21889
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import (
daemon "github.com/jbenet/go-ipfs/daemon2"
)
var Daemon = &cmds.Command{
var daemonCmd = &cmds.Command{
Options: []cmds.Option{},
Help: "TODO",
Subcommands: map[string]*cmds.Command{},

View File

@ -9,7 +9,7 @@ var Root = &cmds.Command{
Options: commands.Root.Options,
Help: commands.Root.Help,
Subcommands: map[string]*cmds.Command{
"daemon": Daemon,
"daemon": daemonCmd,
"init": initCmd,
},
}