diff --git a/layouts/_default/cli.html b/layouts/_default/cli.html index 7a1d126ac5..9ef5fac4b0 100644 --- a/layouts/_default/cli.html +++ b/layouts/_default/cli.html @@ -96,7 +96,6 @@ Option - Short Default Description @@ -104,8 +103,17 @@ {{ range where . "hidden" false }} - {{ with .option }}--{{ . }}{{ end }} - {{ with .shorthand }}-{{ . }}{{ end }} + {{ $short := .shorthand }} + {{ $long := .option }} + + {{ with .details_url }} + + {{ with $short }}-{{ . }}, {{end}}--{{ $long }} + + {{ else }} + {{ with $short }}-{{ . }}, {{end}}--{{ $long }} + {{ end }} + {{ $skipDefault := `[],map[],false,0,0s,default,'',""` }} {{ with .default_value }}