{= # TRANSLATORS: Translate the values in quotes on the next few lines, and do not translate the rest of the file string documentation_for_title = "Documentation for \"" . $("lang_options." . command_line.option_name . ".label") . "\""; string short_description = "Short description"; string long_description = "Long description"; string command_line_name = "Command line name"; string minimum_value_label = "Minimum value"; string maximum_value_label = "Maximum value"; string default_value_label = "Default value"; string command_line_shortcut = "Command line shortcut"; string command_line_syntax = "Command line syntax"; string profile_option_note = "Note: This is a profile option, and can only be used on the command line if a profile is specified with -p"; string all_options = "All Options"; string string_type_label = "value"; # NO TRANSLATION NEEDED BELOW THIS POINT =} {= include("util"); start_docs_page(documentation_for_title); # debug_message("#### option.cfv \n"); =}

$short_description

{= $("lang_options." . command_line.option_name . ".short_description") =}



$long_description

{= $("lang_options." . command_line.option_name . ".long_description") =}



{= # Compute the type and shortcut string type = "value"; string minimum_value; string maximum_value; string option_name = command_line.option_name; # debug_message("#### option_name: " . option_name . "\n"); bool profile_option = starts_with(option_name, "profile."); if (profile_option) then ( option_name = substr(option_name, 8); ); # debug_message("#### option_name 2: " . option_name . "\n"); if (node_exists("option_info." . command_line.option_name . ".type")) then ( type = $("option_info." . command_line.option_name . ".type"); if (type eq "string") then type = string_type_label; if (node_exists("option_info." . command_line.option_name . ".minimum_value")) then ( minimum_value = $("option_info." . command_line.option_name . ".minimum_value"); ); if (node_exists("option_info." . command_line.option_name . ".maximum_value")) then ( maximum_value = $("option_info." . command_line.option_name . ".maximum_value"); ) ); string default_value = command_line.option_name; if (starts_with(default_value, "profile.")) then default_value = "default_profile." . remove_prefix(default_value, "profile."); string shortcut = "(none)"; string syntaxname = command_line.option_name; if (node_exists("option_info." . command_line.option_name . ".shortcut")) then ( shortcut = $("option_info." . command_line.option_name . ".shortcut"); syntaxname = shortcut; ); =}

Command line usage

{= if (profile_option) then ( expand("

$profile_option_note

"); ); =} {= if (maximum_value ne "") then ( "\n"; " \n"; " \n"; "\n"; ); if (minimum_value ne "") then ( "\n"; " \n"; " \n"; "\n"; ); =}
$command_line_name: $option_name
$command_line_shortcut: $shortcut
$command_line_syntax: -$syntaxname $type
$default_value_label: {=$(default_value)=}
\n"; expand(" $maximum_value_label\n"); " \n"; expand(" $maximum_value\n"); "
\n"; expand(" $minimum_value_label\n"); " \n"; expand(" $minimum_value\n"); "

$all_options

{= end_docs_page() =}