From 43db4d8e01dd4551c82fbf1d58e659abd956c364 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 22 May 2023 23:23:14 +0200 Subject: [PATCH] reference: prevent options/flags column from wrapping Make sure that options (flags) are not wrapped in the table. Signed-off-by: Sebastiaan van Stijn --- _includes/cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/cli.md b/_includes/cli.md index 4a85aff418..8a13198c2a 100644 --- a/_includes/cli.md +++ b/_includes/cli.md @@ -134,9 +134,9 @@ For example uses of this command, refer to the [examples section](#examples) bel {% capture option-default %}{% if option.default_value %}{% unless defaults-to-skip contains option.default_value or defaults-to-skip == blank %}`{{ option.default_value }}`{% endunless %}{% endif %}{% endcapture %} {% if option.details_url and option.details_url != '' -%} - [`--{{ option.option }}`]({{ option.details_url }}){% if option.shorthand %} , [`-{{ option.shorthand }}`]({{ option.details_url }}){% endif %} + [`--{{ option.option }}`]({{ option.details_url }}){% if option.shorthand %} , [`-{{ option.shorthand }}`]({{ option.details_url }}){% endif %} {%- else -%} - `--{{ option.option }}`{% if option.shorthand %} , `-{{ option.shorthand }}`{% endif %} + `--{{ option.option }}`{% if option.shorthand %} , `-{{ option.shorthand }}`{% endif %} {%- endif %} {{ option-default }} {% if all-badges != '' %}{{ all-badges | strip }}
{% endif %}{{ option.description | strip }}