commandlineparser / commandlineparser/commandline
Code example misses iEnumerable
未關閉
適合新手
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**Describe the bug**
Displayed C# code doesn't work
**To Reproduce**
Go to the wiki and look at source code C# "Example 1"
https://github.com/commandlineparser/commandline/wiki/HelpText-Configuration
**Additional context**
The the code "Example 1" following code is wrong:
```
static void DisplayHelp(ParserResult result)
```
It should be
```
static void DisplayHelp(ParserResult result,IEnumerable< Error> errs)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
開啟 HelpText-Configuration wiki 頁面,檢查 issue 中顯示的 C#「Example 1」原始碼。更新範例的 DisplayHelp 簽章,使其包含 IEnumerable errs 參數,然後確認顯示的程式碼符合要求的簽章,並且仍是有效的 C#。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 70/100