RequiresAnyAttributeGetUsageHelp Method

Gets the usage help message for this validator.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public override string? GetUsageHelp(
	CommandLineParser parser
)

Parameters

parser  CommandLineParser
The command line parser that the validator is for.

Return Value

String
The usage help message, or if the IncludeInUsageHelp property is .

Remarks

Use a custom LocalizedStringProvider class that overrides the LocalizedStringProviderRequiresAnyUsageHelp(IEnumerableCommandLineArgument) method to customize this message.

See Also