fix: Output help on license subcommand (#4338)

Fixes #4314.
This commit is contained in:
Kyle Carberry
2022-10-03 12:30:18 -05:00
committed by GitHub
parent 0a95ba62b1
commit 46f194e7f1

View File

@ -24,6 +24,9 @@ func licenses() *cobra.Command {
Short: "Add, delete, and list licenses",
Use: "licenses",
Aliases: []string{"license"},
RunE: func(cmd *cobra.Command, args []string) error {
return cmd.Help()
},
}
cmd.AddCommand(
licenseAdd(),