build(docs-infra): render CLI arguments consistently (#26272)

In the command syntax, arguments are rendered as
`var`s enclosed in angle brackets. So this is now repeated
in the arguments table too.

PR Close #26272
This commit is contained in:
Pete Bacon Darwin 2018-10-05 08:46:21 +01:00 committed by Alex Rickabaugh
parent 03bf0d6b41
commit 6c530d3a85
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<tbody> <tbody>
{% for option in arguments %} {% for option in arguments %}
<tr class="cli-option"> <tr class="cli-option">
<td><code>{$ option.name $}</code></td> <td><code>&lt;<var>{$ option.name $}</var>&gt;</code></td>
<td> <td>
{$ option.description | marked $} {$ option.description | marked $}
{% if option.subcommands.length -%} {% if option.subcommands.length -%}