Table of Contents

CliOptionAttribute.AllowMultipleArgumentsPerToken Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets a value that indicates whether multiple argument tokens are allowed for each option identifier token.

If set to true, the following command line is valid for passing multiple arguments:

> myapp --opt 1 2 3
The following is equivalent and is always valid:
> myapp --opt 1 --opt 2 --opt 3
public bool AllowMultipleArgumentsPerToken { get; set; }

Property Value

bool