diff --git a/core/commands/root.go b/core/commands/root.go index 9ed34a7f55a..ef95b15b53a 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -185,6 +185,18 @@ var rootROSubcommands = map[string]*cmds.Command{ }), "resolve": lgc.NewCommand(ResolveCmd), "version": lgc.NewCommand(VersionCmd), + "refs": lgc.NewCommand(RefsROCmd), + "dht": lgc.NewCommand(&oldcmds.Command{ + Subcommands: map[string]*oldcmds.Command{ + "findprovs": findProvidersDhtCmd, + "findpeer": findPeerDhtCmd, + }, + }), + "swarm": lgc.NewCommand(&oldcmds.Command{ + Subcommands: map[string]*oldcmds.Command{ + "connect": swarmConnectCmd, + }, + }), } func init() {