commandlineparser / commandlineparser/commandline

Single dash in value treated as Option

未關閉
#735 9 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
4.8k
分支
478
PR 合併指標
30 天內沒有已合併 PR

描述

Hi,
this seems strange, but I'm having problem with using Parser like:
--parameter "-someValue", because Parser treats "-someValue" as Option, which can't find.

Here in wiki, we can see --suffix parameter with value "-2019". It doesn't seem to work in my project.
https://github.com/commandlineparser/commandline/wiki/Option-Groups

option EnableDashDash = true doesn't help either. Any help with this?

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

No source files or tests are named. Start by reproducing the command-line invocation from the report and compare it with the Option-Groups wiki example, including EnableDashDash. Done means a value such as "-someValue" is accepted as the value for --parameter rather than parsed as another option.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。