diff --git a/aio/tools/transforms/templates/cli/cli-command.template.html b/aio/tools/transforms/templates/cli/cli-command.template.html index 0b775a4b7d..017ed614ad 100644 --- a/aio/tools/transforms/templates/cli/cli-command.template.html +++ b/aio/tools/transforms/templates/cli/cli-command.template.html @@ -14,7 +14,7 @@ {$ cli.renderSyntax(doc) $} {% if doc.longDescription.length %} -
This option can take one of the following sub-commands:
+
该选项可以接受下列子命令之一:
{$ subcommand.name $}
Default: {$ option.default $}
Aliases: {% for alias in option.aliases %}{$ renderOptionName(alias) $}{% if not loop.last %}, {% endif %}{% endfor %}
{% endif %} + {% if option.default !== undefined %}默认值: {$ option.default $}
别名: {% for alias in option.aliases %}{$ renderOptionName(alias) $}{% if not loop.last %}, {% endif %}{% endfor %}
{% endif %}