refactor(del): made remove the default case
This commit is contained in:
parent
3d5a3f2aa1
commit
c2d1ec0842
21 changed files with 145 additions and 103 deletions
|
|
@ -34,9 +34,9 @@ import (
|
|||
|
||||
// delCmd represents the set command
|
||||
var delCmd = &cobra.Command{
|
||||
Use: "del KEY[@STORE] [KEY[@STORE] ...]",
|
||||
Use: "remove KEY[@STORE] [KEY[@STORE] ...]",
|
||||
Short: "Delete one or more keys",
|
||||
Aliases: []string{"delete", "rm", "remove"},
|
||||
Aliases: []string{"rm"},
|
||||
Args: cobra.ArbitraryArgs,
|
||||
RunE: del,
|
||||
SilenceUsage: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue