fix: silence usage on cp command

This commit is contained in:
Lewis Wynne 2026-02-11 02:16:26 +00:00
parent fb75758986
commit 0114b01fb3

View file

@ -30,11 +30,12 @@ import (
) )
var cpCmd = &cobra.Command{ var cpCmd = &cobra.Command{
Use: "copy FROM[@STORE] TO[@STORE]", Use: "copy FROM[@STORE] TO[@STORE]",
Aliases: []string{"cp"}, Aliases: []string{"cp"},
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{