<#macro expectedValues option> <#list ctx.options.getOption(option).expectedValues as expectedValue> * ${expectedValue} <#macro list options buildIcon=true anchor=true> [cols="12a,4",role="options"] |=== | |Value <#list options as option> | [.options-key]#``${option.key}``# <#if buildIcon><#if option.build>[.none]#icon:tools[role=options-build]# [.options-description]#${option.description}# [<#if anchor>#option-extended-${option.key},role="options-extended"] -- <#if option.descriptionExtended?has_content>[.options-description-extended]#${option.descriptionExtended!}# *CLI:* `${option.keyCli}` + *Env:* `${option.keyEnv}` -- <#if option.enabledWhen?has_content> ${option.enabledWhen!} <#if option.deprecated?has_content> <#-- Either mark the whole option as deprecated, or just selected values --> <#if !option.deprecated.deprecatedValues?has_content> *DEPRECATED.* ${option.deprecated.note!}<#if option.deprecated.newOptionsKeys?has_content><#if option.deprecated.note?has_content> Use: <#list option.deprecated.newOptionsKeys as key>`+${key}+`<#if key?has_next>, . <#if option.deprecated.deprecatedValues?has_content> *Deprecated values: <#list option.deprecated.deprecatedValues as value>`+${value}+`<#if value?has_next>, * |<#if option.expectedValues?has_content> <#list option.expectedValues as value>`+${value!}+`<#if option.defaultValue?has_content && value = option.defaultValue> (default)<#if value?has_next>, <#else> <#if option.defaultValue?has_content>[.options-default]#`+${option.defaultValue!}+`# (default)<#if option.type?has_content && option.defaultValue?has_content> or <#if option.type?has_content && !option.expectedValues?has_content>any `+${option.type!}+` |===