mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
cmd: fix the output of the Usage
section (#6138)
This commit is contained in:
parent
03f703a00e
commit
de4959fe7b
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ func onlyVersionText() string {
|
||||||
|
|
||||||
func caddyCmdToCobra(caddyCmd Command) *cobra.Command {
|
func caddyCmdToCobra(caddyCmd Command) *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: caddyCmd.Name,
|
Use: caddyCmd.Name + " " + caddyCmd.Usage,
|
||||||
Short: caddyCmd.Short,
|
Short: caddyCmd.Short,
|
||||||
Long: caddyCmd.Long,
|
Long: caddyCmd.Long,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue