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
|
|
@ -36,9 +36,9 @@ import (
|
|||
)
|
||||
|
||||
var restoreCmd = &cobra.Command{
|
||||
Use: "restore [STORE]",
|
||||
Use: "import [STORE]",
|
||||
Short: "Restore key/value pairs from an NDJSON dump",
|
||||
Aliases: []string{"import"},
|
||||
Aliases: []string{"restore"},
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
RunE: restore,
|
||||
SilenceUsage: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue