Ensure that arguments for sub commands are properly indented (#37992)

pull/38230/head
Matt Martz 7 years ago committed by GitHub
parent b000339a31
commit a89d0d0919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ ACTIONS
{% if actions[action]['options'] %} {% if actions[action]['options'] %}
{% for option in actions[action]['options']|sort(attribute='options') %} {% for option in actions[action]['options']|sort(attribute='options') %}
{% for switch in option['options'] if switch in actions[action]['option_names'] %}**{{switch}}**{% if option['arg'] %} '{{option['arg']}}'{% endif %}{% if not loop.last %}, {% endif %}{% endfor %} {% for switch in option['options'] if switch in actions[action]['option_names'] %} **{{switch}}**{% if option['arg'] %} '{{option['arg']}}'{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}
{{ (option['desc']) }} {{ (option['desc']) }}
{% endfor %} {% endfor %}

Loading…
Cancel
Save