diff --git a/command.go b/command.go index 0209ebd..543aeac 100644 --- a/command.go +++ b/command.go @@ -91,6 +91,8 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int { } else { return -1 } + case "publish": + return 1 } if info == nil { internal.Logf("info for cmd=%s not found", cmd.name())