PrefixTerminationMode Enumeration

Indicates the effect of an argument that is just the long argument prefix ("--" by default) by itself, not followed by a name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public enum PrefixTerminationMode

Members

None0 There is no special behavior for the argument.
PositionalOnly1 The argument terminates the use of named arguments. Any following arguments are interpreted as values for positional arguments, even if they begin with a long or short argument name prefix.
CancelWithSuccess2 The argument cancels parsing, returning an instance of the arguments type and making the values after this argument available in the ParseResultRemainingArguments property. This is identical to how an argument with CancelModeSuccess behaves.

See Also