Skip to content

Commit

Permalink
cmd: fix the output of the Usage section (#6138)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed90 committed Mar 1, 2024
1 parent 03f703a commit de4959f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cobra.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func onlyVersionText() string {

func caddyCmdToCobra(caddyCmd Command) *cobra.Command {
cmd := &cobra.Command{
Use: caddyCmd.Name,
Use: caddyCmd.Name + " " + caddyCmd.Usage,
Short: caddyCmd.Short,
Long: caddyCmd.Long,
}
Expand Down

0 comments on commit de4959f

Please sign in to comment.