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:
Dan 2023-03-22 17:45:09 +00:00 committed by GitHub
parent 829a71cd92
commit d02c56aa5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,