fix doc comment on CommandsROOption
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Jan 23, 2018 at 20:27 UTC
418bb65d9db9fa26482344be5d4faa03b9a4c29a
1 file changed
+1
-1
core/corehttp/commands.go
+1
-1
@@ -140,7 +140,7 @@ func CommandsOption(cctx oldcmds.Context) ServeOption {
140
return commandsOption(cctx, corecommands.Root)
141
}
142
143
-// CommandsOption constructs a ServerOption for hooking the read-only commands
143
+// CommandsROOption constructs a ServerOption for hooking the read-only commands
144
// into the HTTP server.
145
func CommandsROOption(cctx oldcmds.Context) ServeOption {
146
return commandsOption(cctx, corecommands.RootRO)