HTML Tidy  5.9.15
The HTACG Tidy HTML Project
Provide the -help-config Service

Detailed Description

Functions

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

Function Documentation

◆ GetAllowedValues()

static 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()

static 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()

static 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()

static 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.