From b65e11e3c37bafed792ca86aac672acf3f9e1e43 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 12 Jul 2019 16:39:52 +0100 Subject: [PATCH] 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 --- aio/tools/transforms/templates/cli/lib/cli.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/tools/transforms/templates/cli/lib/cli.html b/aio/tools/transforms/templates/cli/lib/cli.html index 038a5be3e9..c42407d655 100644 --- a/aio/tools/transforms/templates/cli/lib/cli.html +++ b/aio/tools/transforms/templates/cli/lib/cli.html @@ -20,7 +20,7 @@ {% for option in arguments %} - <{$ option.name $}> + <{$ option.name $}>{% if option.enum.length > 0 %}={$ renderValues(option.enum) $}{% endif %} {$ option.description | marked $} {% if option.subcommands.length -%}