etcdctl: update to meet go vet

This commit is contained in:
Brian Waldon
2014-10-22 17:51:40 -07:00
parent 69842b344d
commit 1539d5c49c
12 changed files with 24 additions and 26 deletions

View File

@ -13,7 +13,7 @@ func NewMakeDirCommand() cli.Command {
Name: "mkdir",
Usage: "make a new directory",
Flags: []cli.Flag{
cli.IntFlag{"ttl", 0, "key time-to-live"},
cli.IntFlag{Name: "ttl", Value: 0, Usage: "key time-to-live"},
},
Action: func(c *cli.Context) {
handleDir(c, makeDirCommandFunc)