commandlineparser / commandlineparser/commandline

I get "Option 'version' is unknown" if it comes after other user-defined options on the command line

Đang mở
#661 6 bình luận 0 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ả

Since `version` is pretty much built-in, it should never be "unknown", especially if this message is immediately followed by helptext that clearly shows that it is a valid option.

```
3676 ~/fork/foo-etl$ dotnet etl/bin/Debug/netcoreapp3.0/etl.dll -c foo -d bar --version
etl 0.0.1
Copyright (C) 2020 etl

ERROR(S):
Option 'version' is unknown.

-c, --configdir Required. Path to dir that contains client configurations

-d, --invoicedir Required. Path to dir that contains invoices are

--help Display this help screen.

--version Display version information.
```

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.