mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-24 20:46:51 +08:00
cmd: fix the output of the Usage
section (#6138)
This commit is contained in:
parent
03f703a00e
commit
de4959fe7b
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user