fix: silence usage on cp command
This commit is contained in:
parent
fb75758986
commit
0114b01fb3
1 changed files with 6 additions and 5 deletions
11
cmd/mv.go
11
cmd/mv.go
|
|
@ -30,11 +30,12 @@ import (
|
|||
)
|
||||
|
||||
var cpCmd = &cobra.Command{
|
||||
Use: "copy FROM[@STORE] TO[@STORE]",
|
||||
Aliases: []string{"cp"},
|
||||
Short: "Make a copy of a key",
|
||||
Args: cobra.ExactArgs(2),
|
||||
RunE: cp,
|
||||
Use: "copy FROM[@STORE] TO[@STORE]",
|
||||
Aliases: []string{"cp"},
|
||||
Short: "Make a copy of a key",
|
||||
Args: cobra.ExactArgs(2),
|
||||
RunE: cp,
|
||||
SilenceUsage: true,
|
||||
}
|
||||
|
||||
var mvCmd = &cobra.Command{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue