M_CommandLine_Text_HelpText_AddOptions__1_1 - adutton/commandline GitHub Wiki
Adds a text block with options usage string.
Namespace: CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public HelpText AddOptions<T>(
int maximumLength,
ParserResult<T> result
)VB
Public Function AddOptions(Of T) (
maximumLength As Integer,
result As ParserResult(Of T)
) As HelpTextC++
public:
generic<typename T>
HelpText^ AddOptions(
int maximumLength,
ParserResult<T>^ result
)F#
member AddOptions :
maximumLength : int *
result : ParserResult<'T> -> HelpText
- maximumLength
- Type: System.Int32
The maximum length of the help screen. - result
- Type: CommandLine.ParserResult(T)
A parsing computation result.
- T
Type: HelpText
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when parameter result is null. |