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

Detailed Description

Functions

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

Function Documentation

◆ cleanup_description()

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

void optionDescribe ( TidyDoc tdoc,
char * option )
static

Handles the -help-option service.

Parameters
tdocThe Tidy Document
optionThe name of the option.