Documentation for the C# command-line option parsing library

UsageBuilder.ToHtml Method 

Convert the usage to HTML

public void ToHtml(
   TextWriter writer,
   OptStyle optStyle,
   Uri cssStyleSheet,
   bool includeDefaultValues,
   string title
);

Parameters

writer
TextWriter to write the output to
optStyle
The style to use when printing possible option names
cssStyleSheet
Stylesheet URI to apply to the HTML content
includeDefaultValues
True to include the default option values in the output
title
Title to use for the HTML page

See Also

UsageBuilder Class | CommandLine.OptParse Namespace