diff --git a/core/corehttp/commands.go b/core/corehttp/commands.go
index 60be1b1f7c304cd240aef0e8aac9ef05e79a481a..96cc28e9f86f019aca3b9b6465a0a05a24f27972 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)