diff --git a/_includes/cli.md b/_includes/cli.md
index 865b34cfc4..571d5a6034 100644
--- a/_includes/cli.md
+++ b/_includes/cli.md
@@ -124,7 +124,11 @@ For example uses of this command, refer to the [examples section](#examples) bel
{% assign defaults-to-skip = "[],map[],false,0,0s,default,'',\"\"" | split: ',' %}
{% 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 %}
- `--{{ option.option }}{% if option.shorthand %} , -{{ option.shorthand }}{% endif %}` |
+ {% if option.details_url and option.details_url != '' -%}
+ [`--{{ option.option }}`]({{ option.details_url }}){% if option.shorthand %} , [`-{{ option.shorthand }}`]({{ option.details_url }}){% endif %} |
+ {%- else -%}
+ `--{{ option.option }}`{% if option.shorthand %} , `-{{ option.shorthand }}`{% endif %} |
+ {%- endif %}
{{ option-default }} |
{% if all-badges != '' %}{{ all-badges | strip }} {% endif %}{{ option.description | strip | escape }} |