From 418bb65d9db9fa26482344be5d4faa03b9a4c29a Mon Sep 17 00:00:00 2001 From: Steven Allen <steven@stebalien.com> Date: Tue, 23 Jan 2018 20:27:15 -0800 Subject: [PATCH] fix doc comment on CommandsROOption License: MIT Signed-off-by: Steven Allen <steven@stebalien.com> --- core/corehttp/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/corehttp/commands.go b/core/corehttp/commands.go index 60be1b1f7..96cc28e9f 100644 --- a/core/corehttp/commands.go +++ b/core/corehttp/commands.go @@ -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) -- GitLab