diff options
author | Mohammed Al Sahaf <[email protected]> | 2024-03-01 19:00:29 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-01 19:00:29 +0300 |
commit | de4959fe7b7a6a1ab7a7a12462222efe95fbb661 (patch) | |
tree | 41794cdf32fa795ca777c71ba3bc9516d6c66418 | |
parent | 03f703a00e006a1e53a2eaf5f4e33a1b3a5e4237 (diff) | |
download | caddy-de4959fe7b7a6a1ab7a7a12462222efe95fbb661.tar.gz caddy-de4959fe7b7a6a1ab7a7a12462222efe95fbb661.zip |
cmd: fix the output of the `Usage` section (#6138)
-rw-r--r-- | cmd/cobra.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cobra.go b/cmd/cobra.go index d43b43729..1a2509206 100644 --- a/cmd/cobra.go +++ b/cmd/cobra.go @@ -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, } |