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

This commit is contained in:
Matt Martz
2018-04-03 10:56:12 -05:00
committed by GitHub
parent b000339a31
commit a89d0d0919

View File

@@ -52,7 +52,7 @@ ACTIONS
{% if actions[action]['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']) }}
{% endfor %}