Define the behavior of the parser if an option is duplicated
If the option is not defined as a option that allows multiple values, then this enumeration specifies the action to take when a duplicate option is given at the command-line.
Member Name | Description |
---|---|
Allow | Allow the duplicate declaration, using the last declaration to specify the value |
Warning | Allow the duplicate declaration, using the last declaration to specify the value, but send a warning back to the caller of the parser (see the OptionWarning event) |
Error | Deny the duplicate declaration, throwing a ParseException |
Namespace: CommandLine.OptParse
Assembly: CSharpOptParse (in CSharpOptParse.dll)
CommandLine.OptParse Namespace