commandlineparser / commandlineparser/commandline
How to avoid any values ?
未關閉
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hello
I have a console program to create, and I have only options.
How can I do to raise an error and display help when I have some values instead of options ?
Example :
```
MyProgram --option1 --> is ok
MyProgram value1 --> I have to inform user that no values are allowed (and display help)
```
Thanks for advance.
Sybaris
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
No file, test, or entry point is named in the issue. Start by locating how positional values are handled; done means determining whether extra values are rejected with an error and help displayed.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100