Documentation for the C# command-line option parsing library

UsageBuilder.ToText Method (TextWriter, OptStyle, Boolean)

Convert the usage to Text

public void ToText(
   TextWriter writer,
   OptStyle optStyle,
   bool includeDefaultValues
);

Parameters

writer
TextWriter to write the output to
optStyle
The style to use when printing possible option names
includeDefaultValues
True to include the default option values in the output

See Also

UsageBuilder Class | CommandLine.OptParse Namespace | UsageBuilder.ToText Overload List