mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
fix: shell completion by adding missing usage message required by spf13/cobra (#1688)
Signed-off-by: DanHam <DanHam@users.noreply.github.com>
This commit is contained in:
parent
829a71cd92
commit
d02c56aa5f
@ -55,6 +55,7 @@ func New() (*cobra.Command, error) {
|
|||||||
|
|
||||||
// rootCmd is currently an alias for the packages command
|
// rootCmd is currently an alias for the packages command
|
||||||
rootCmd := &cobra.Command{
|
rootCmd := &cobra.Command{
|
||||||
|
Use: fmt.Sprintf("%s [SOURCE]", internal.ApplicationName),
|
||||||
Short: packagesCmd.Short,
|
Short: packagesCmd.Short,
|
||||||
Long: packagesCmd.Long,
|
Long: packagesCmd.Long,
|
||||||
Args: packagesCmd.Args,
|
Args: packagesCmd.Args,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user