From c6fef170b07671dca056a100187af003aa52759b Mon Sep 17 00:00:00 2001 From: siddontang Date: Tue, 1 Jul 2014 16:23:44 +0800 Subject: [PATCH] cli trim single quote --- cmd/ledis-cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ledis-cli/main.go b/cmd/ledis-cli/main.go index 96dc79d..dc16e68 100644 --- a/cmd/ledis-cli/main.go +++ b/cmd/ledis-cli/main.go @@ -44,7 +44,7 @@ func main() { args := make([]interface{}, len(cmds[1:])) for i := range args { - args[i] = strings.Trim(string(cmds[1+i]), "\"") + args[i] = strings.Trim(string(cmds[1+i]), "\"'") } r, err := c.Do(cmds[0], args...) if err != nil {