fix: silence usage on cp command
This commit is contained in:
parent
fb75758986
commit
0114b01fb3
1 changed files with 6 additions and 5 deletions
|
|
@ -35,6 +35,7 @@ var cpCmd = &cobra.Command{
|
||||||
Short: "Make a copy of a key",
|
Short: "Make a copy of a key",
|
||||||
Args: cobra.ExactArgs(2),
|
Args: cobra.ExactArgs(2),
|
||||||
RunE: cp,
|
RunE: cp,
|
||||||
|
SilenceUsage: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
var mvCmd = &cobra.Command{
|
var mvCmd = &cobra.Command{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue