From e737f3e6dddb064b079f54c5e41835da7712f85b Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 12 Apr 2017 13:00:20 +0300 Subject: [PATCH] Fix publish command info --- command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command.go b/command.go index 0209ebde..543aeac1 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())