mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ func New() (*cobra.Command, error) {
|
|||
|
||||
// rootCmd is currently an alias for the packages command
|
||||
rootCmd := &cobra.Command{
|
||||
Use: fmt.Sprintf("%s [SOURCE]", internal.ApplicationName),
|
||||
Short: packagesCmd.Short,
|
||||
Long: packagesCmd.Long,
|
||||
Args: packagesCmd.Args,
|
||||
|
|
Loading…
Reference in a new issue