Table of Contents

Enum UnrecognizedArgumentHandling

Namespace
McMaster.Extensions.CommandLineUtils
Assembly
McMaster.Extensions.CommandLineUtils.dll

Defines behaviors for for how unrecognized arguments should be handled.

public enum UnrecognizedArgumentHandling

Fields

CollectAndContinue = 2

When an unrecognized argument is encountered, save it in a list that will be assigned to RemainingArguments.

StopParsingAndCollect = 1

When an unrecognized argument is encountered, stop parsing arguments and put all remaining arguments, including the first unrecognized argument, in RemainingArguments.

Throw = 0

When an unrecognized argument is encountered, throw CommandParsingException.