mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 07:26:34 +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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user