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,10 +13,10 @@ func NewRemoveCommand() cli.Command {
Name: "rm",
Usage: "remove a key",
Flags: []cli.Flag{
cli.BoolFlag{"dir", "removes the key if it is an empty directory or a key-value pair"},
cli.BoolFlag{"recursive", "removes the key and all child keys(if it is a directory)"},
cli.StringFlag{"with-value", "", "previous value"},
cli.IntFlag{"with-index", 0, "previous index"},
cli.BoolFlag{Name: "dir", Usage: "removes the key if it is an empty directory or a key-value pair"},
cli.BoolFlag{Name: "recursive", Usage: "removes the key and all child keys(if it is a directory)"},
cli.StringFlag{Name: "with-value", Value: "", Usage: "previous value"},
cli.IntFlag{Name: "with-index", Value: 0, Usage: "previous index"},
},
Action: func(c *cli.Context) {
handleAll(c, removeCommandFunc)