Skip to content

Commit 46f194e

Browse files
authored
fix: Output help on license subcommand (coder#4338)
Fixes coder#4314.
1 parent 0a95ba6 commit 46f194e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

enterprise/cli/licenses.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ func licenses() *cobra.Command {
2424
Short: "Add, delete, and list licenses",
2525
Use: "licenses",
2626
Aliases: []string{"license"},
27+
RunE: func(cmd *cobra.Command, args []string) error {
28+
return cmd.Help()
29+
},
2730
}
2831
cmd.AddCommand(
2932
licenseAdd(),

0 commit comments

Comments
 (0)