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 = 2When an unrecognized argument is encountered, save it in a list that will be assigned to RemainingArguments.
StopParsingAndCollect = 1When an unrecognized argument is encountered, stop parsing arguments and put all remaining arguments, including the first unrecognized argument, in RemainingArguments.
Throw = 0When an unrecognized argument is encountered, throw CommandParsingException.