From 6d58d91c659e6a6452de8f94edc3a52cb4346a1f Mon Sep 17 00:00:00 2001 From: holys Date: Tue, 10 Jan 2017 11:42:10 +0800 Subject: [PATCH] rename args --- README.md | 2 +- redis-cli.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 179e659..fccdff5 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ connected 127.0.0.1:6380 successfully ## Play with gotty -gotty -w ./redis-cli +gotty -w ./redis-cli --welcome ![screenshot](redis-cli-gotty.gif) diff --git a/redis-cli.go b/redis-cli.go index 86f5bf5..ce2c1bf 100644 --- a/redis-cli.go +++ b/redis-cli.go @@ -20,7 +20,7 @@ var ( dbn = flag.Int("n", 0, "Database number(default 0)") auth = flag.String("a", "", "Password to use when connecting to the server") outputRaw = flag.Bool("raw", false, "Use raw formatting for replies") - showWelcome = flag.Bool("show", false, "show welcome message, mainly for web usage via gotty") + showWelcome = flag.Bool("welcome", false, "show welcome message, mainly for web usage via gotty") ) var (