commandlineparser / commandlineparser/commandline
Longname being ignored
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I have an option for a start date.
` [Option('s', "startdate", Required = false, HelpText`
and am using the `-startdate 7/1/2020` as the arg
But no matter what I do, the args always end up being parsed as a shortname
`"nddate 7/1/2020"`
I would expect it to be `7/1/2020` and clean up that other stuff.
- Language: C#
- Framework: .Net Core 3.1
- OS: OSX 10.14
- IDE: Visual Studio Code
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
No source file, test, or entry point is named. First reproduce the issue using the supplied Option declaration and `-startdate 7/1/2020` argument, then trace the command-line parsing path that handles long names. Done means the value is parsed as `7/1/2020` rather than as a short-name argument, with a regression test covering the case.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 28/100