commandlineparser / commandlineparser/commandline

Zero is not allowed in range of sequence option specifications.

Open
#302 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

I need a way to indicate that I don't accept any Value parameters.
I tried
[Value(0, Max=0)]
public IEnumerable Items {get; set;}

but get this error. Seems like there currently is no way to say you don't want any values. min value for the Max property is 1.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.