build(docs-infra): display CLI positional option enum values (#31529)
Previously we on;ly displayed enum values for named options. Now positional options get equal justice. Fixes https://github.com/angular/angular-cli/issues/15040 PR Close #31529
This commit is contained in:
parent
3a09d01c63
commit
b65e11e3c3
|
@ -20,7 +20,7 @@
|
|||
<tbody>
|
||||
{% for option in arguments %}
|
||||
<tr class="cli-option">
|
||||
<td><code class="no-auto-link"><<var>{$ option.name $}</var>></code></td>
|
||||
<td><code class="cli-option-syntax no-auto-link"><<var>{$ option.name $}</var>>{% if option.enum.length > 0 %}={$ renderValues(option.enum) $}{% endif %}</code></td>
|
||||
<td>
|
||||
{$ option.description | marked $}
|
||||
{% if option.subcommands.length -%}
|
||||
|
|
Loading…
Reference in New Issue