mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-04 15:58:13 +08:00
fix doc comment on CommandsROOption
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
parent
31bb782e77
commit
418bb65d9d
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user