ParseOptionsAttribute.LongArgumentNamePrefix Property

Gets or sets the argument name prefix to use for long argument names.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public string? LongArgumentNamePrefix { get; set; }

Property Value

String

Remarks

This property is only used if the Mode or ParseOptions.Mode property is ParsingMode.LongShort, or if the PrefixTermination or ParseOptions.PrefixTermination property is not PrefixTerminationMode.None.

Use the ArgumentNamePrefixes to specify the prefixes for short argument names.

This value can be overridden by the ParseOptions.LongArgumentNamePrefix property.

See Also