Summary
Used to control parsing of command-line arguments.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Util - Base Types
-
- Enum
graph BT
Type-->Base0["Enum"]
Type["CommandLineArgumentTypes"]
class Type type-node
Syntax
[Flags]
public enum CommandLineArgumentTypes
Attributes
Type | Description |
---|---|
FlagsAttribute |
Fields
Name | Constant Value | Summary |
---|---|---|
AtMostOnce | 0 |
The default type for non-collection arguments.
The argument is not required, but an error will be reported if it is specified more than once.
static
|
Exclusive | 8 |
Indicates that if this argument is specified, no other arguments may be specified.
static
|
Multiple | 4 |
Indicates that the argument may be specified more than once.
Only valid if the argument is a collection
static
|
MultipleUnique | 6 |
The default type for collection arguments.
The argument is permitted to occur multiple times, but duplicate
values will cause an error to be reported.
static
|
Required | 1 |
Indicates that this field is required. An error will be displayed
if it is not present when parsing arguments.
static
|
Unique | 2 |
Only valid in conjunction with Multiple.
Duplicate values will result in an error.
static
|