HTML Tidy  5.8.0
The HTACG Tidy HTML Project
Provide the -help-option Service

Detailed Description

Functions

static tmbstr cleanup_description (ctmbstr description)
 Cleans up the HTML-laden option descriptions for console output. More...
 
static void optionDescribe (TidyDoc tdoc, char *option)
 Handles the -help-option service. More...
 

Function Documentation

◆ cleanup_description()

static tmbstr cleanup_description ( ctmbstr  description)
static

Cleans up the HTML-laden option descriptions for console output.

It's just a simple HTML filtering/replacement function.

Parameters
descriptionThe option description.
Returns
Returns an allocated string with some HTML stripped away.

◆ optionDescribe()

static void optionDescribe ( TidyDoc  tdoc,
char *  option 
)
static

Handles the -help-option service.

Parameters
tdocThe Tidy Document
optionThe name of the option.