commandlineparser / commandlineparser/commandline

Sequence - error option is defined multiple times

Đang mở
#703 3 bình luận 10 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
4.8k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

[Wiki - Sequence option](https://github.com/commandlineparser/commandline/wiki/CommandLine-Grammar#sequence-option) states:

> Sequence option
Sequence options require one or more argument value.
its type is: IEnumerable
Option name may be repeated more than one time.
Thus --files file1.txt file2.txt and --files file1.txt --files file2.txt are equivalent.

In fact, using the second example by specifying the parameter twice leads to an error:

ERROR(S):
Option 'input' is defined multiple times.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.