hugo: do not render hidden cli options

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-01-24 15:51:18 +01:00
parent 622e8d99ee
commit 15485594b4
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@
</tr>
</thead>
<tbody>
{{ range . }}
{{ range where . "hidden" false }}
<tr>
<td>{{ with .option }}<code>--{{ . }}</code>{{ end }}</td>
<td>{{ with .shorthand }}<code>-{{ . }}</code>{{ end }}</td>