fix doc comment on CommandsROOption

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen 2018-01-23 20:27:15 -08:00
parent 31bb782e77
commit 418bb65d9d

View File

@ -140,7 +140,7 @@ func CommandsOption(cctx oldcmds.Context) ServeOption {
return commandsOption(cctx, corecommands.Root)
}
// CommandsOption constructs a ServerOption for hooking the read-only commands
// CommandsROOption constructs a ServerOption for hooking the read-only commands
// into the HTTP server.
func CommandsROOption(cctx oldcmds.Context) ServeOption {
return commandsOption(cctx, corecommands.RootRO)