commandlineparser / commandlineparser/commandline
ushort and short not supported
未关闭
enhancement
- 主要语言
- C#
- 星标
- 4.8k
- 派生
- 478
- PR 合并指标
- 30 天内没有已合并 PR
描述
```
class Options
{
[Option('p', "port", Required = false, HelpText = "port number")]
public int Port { get;set; }
}
```
If i change the type of Port to ushort or short I get an error when starting the program:
"ERROR(S):
Error setting value to option 'p, port': Check if Option or Value attribute values are set
properly for the given type."
Expected behavior:
1. clear error message that the type is not supported
2. support the types ushort and short
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。