HTML Tidy 5.8.0
The HTACG Tidy HTML Project
Loading...
Searching...
No Matches
Provide the -help-config Service

Detailed Description

Functions

static tmbstr GetAllowedValues (TidyOption topt, const OptionDesc *d)
 Retrieves allowed values for an option.
static tmbstr GetAllowedValuesFromPick (TidyOption topt)
 Retrieves allowed values from an option's pick list.
static void optionhelp (TidyDoc tdoc)
 Handles the -help-config service.
static void printOption (TidyDoc ARG_UNUSED(tdoc), TidyOption topt, OptionDesc *d)
 Prints a single option.

Function Documentation

◆ GetAllowedValues()

tmbstr GetAllowedValues ( TidyOption topt,
const OptionDesc * d )
static

Retrieves allowed values for an option.

Returns
A string containing the allowed values.
Parameters
toptA TidyOption for which to get the allowed values.
dA pointer to the OptionDesc array.

◆ GetAllowedValuesFromPick()

tmbstr GetAllowedValuesFromPick ( TidyOption topt)
static

Retrieves allowed values from an option's pick list.

Parameters
toptA TidyOption for which to get the allowed values.
Returns
A string containing the allowed values.

◆ optionhelp()

void optionhelp ( TidyDoc tdoc)
static

Handles the -help-config service.

Remarks
We will not support console word wrapping for the configuration options table. If users really have a small console, then they should make it wider or output to a file.
Parameters
tdocThe Tidy document.

◆ printOption()

void printOption ( TidyDoc ARG_UNUSEDtdoc,
TidyOption topt,
OptionDesc * d )
static

Prints a single option.

Parameters
ARG_UNUSEDThe Tidy document.
toptThe option to print.
dA pointer to the OptionDesc array.