Skip to content

Commit

Permalink
Merge pull request #26 from IBM-Cloud/redis_6_support
Browse files Browse the repository at this point in the history
Default has to be empty to be backwards compatible
  • Loading branch information
ullumullu authored Jun 5, 2020
2 parents e8e2ddf + a2c9a64 commit 388c9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redli.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (
redisurl = kingpin.Flag("uri", "URI to connect to").Short('u').URL()
redishost = kingpin.Flag("host", "Host to connect to").Short('h').Default("127.0.0.1").String()
redisport = kingpin.Flag("port", "Port to connect to").Short('p').Default("6379").Int()
redisuser = kingpin.Flag("redisuser", "Username to use when connecting. Supported since Redis 6.").Short('r').Default("default").String()
redisuser = kingpin.Flag("redisuser", "Username to use when connecting. Supported since Redis 6.").Short('r').Default("").String()
redisauth = kingpin.Flag("auth", "Password to use when connecting").Short('a').String()
redisdb = kingpin.Flag("ndb", "Redis database to access").Short('n').Default("0").Int()
redistls = kingpin.Flag("tls", "Enable TLS/SSL").Default("false").Bool()
Expand All @@ -62,7 +62,7 @@ var (
)

func main() {
kingpin.Version("0.5.0")
kingpin.Version("0.5.1")
kingpin.Parse()

if *forceraw {
Expand Down

0 comments on commit 388c9d6

Please sign in to comment.