Skip to content

Commit

Permalink
Add default usage of custom commands again, fixes ddev#2633
Browse files Browse the repository at this point in the history
Was accidentally removed with ddev@c34907d
  • Loading branch information
gilbertsoft authored and rfay committed Nov 17, 2020
1 parent b221758 commit 59a8cbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ddev/cmd/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func addCustomCommands(rootCmd *cobra.Command) error {
description = val
}

usage = commandName + " [flags] [args]"
if val, ok := directives["Usage"]; ok {
usage = val
}
Expand Down

0 comments on commit 59a8cbe

Please sign in to comment.