提交 418bb65d 作者: Steven Allen

fix doc comment on CommandsROOption

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 31bb782e
...@@ -140,7 +140,7 @@ func CommandsOption(cctx oldcmds.Context) ServeOption { ...@@ -140,7 +140,7 @@ func CommandsOption(cctx oldcmds.Context) ServeOption {
return commandsOption(cctx, corecommands.Root) 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. // into the HTTP server.
func CommandsROOption(cctx oldcmds.Context) ServeOption { func CommandsROOption(cctx oldcmds.Context) ServeOption {
return commandsOption(cctx, corecommands.RootRO) return commandsOption(cctx, corecommands.RootRO)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论