Class OptionHelp
A block that renders a short manual for one option.
public sealed class OptionHelp : Block
- Inheritance
-
OptionHelp
- Inherited Members
Constructors
OptionHelp(Option, OptionPrinter)
Creates help markup for one command-line option.
public OptionHelp(Option option, OptionPrinter printer)
Parameters
optionOptionThe option to document.
printerOptionPrinterThe option printer to use.
Properties
Option
Gets the option being documented.
public Option Option { get; }
Property Value
Printer
Gets the option printer used to render option names and arguments.
public OptionPrinter Printer { get; }
Property Value
Methods
Lower()
Lowers this option help block to simpler markup.
public override Block Lower()
Returns
- Block
The lowered block markup.