From b254efff567909cafc9f6b159cadc8ea39df5ea2 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 19 Feb 2023 01:20:28 +0100 Subject: [PATCH] cli reference: do not display hidden flags Signed-off-by: CrazyMax --- _includes/cli.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_includes/cli.md b/_includes/cli.md index 732adce30d..4a85aff418 100644 --- a/_includes/cli.md +++ b/_includes/cli.md @@ -115,6 +115,7 @@ For example uses of this command, refer to the [examples section](#examples) bel {% for option in alloptions %} + {% unless option.hidden %} {% capture deprecated-badge %}{% if option.deprecated %}deprecated{% endif %}{% endcapture %} {% capture experimental-daemon-badge %}{% if option.experimental %}experimental (daemon){% endif %}{% endcapture %} {% capture experimental-cli-badge %}{% if option.experimentalcli %}experimental (CLI){% endif %}{% endcapture %} @@ -140,6 +141,7 @@ For example uses of this command, refer to the [examples section](#examples) bel {{ option-default }} {% if all-badges != '' %}{{ all-badges | strip }}
{% endif %}{{ option.description | strip }} + {% endunless %} {% endfor %}