diff --git a/collection_prep/cmd/plugin.rst.j2 b/collection_prep/cmd/plugin.rst.j2 index 2e1b4f7..20481f0 100644 --- a/collection_prep/cmd/plugin.rst.j2 +++ b/collection_prep/cmd/plugin.rst.j2 @@ -153,7 +153,7 @@ Parameters {% endif %} {# Show default value, when multiple choice or no choices #} - {% if value['default'] is defined and value['default'] not in value.get('choices', []) %} + {% if value.default is defined and (not value.choices or value.default not in value.choices) %} Default:
@{ value.default | tojson | escape }@
{% endif %}