commandlineparser / commandlineparser/commandline

commandline/src/CommandLine/Text/HelpText.cs AddLine() calls value.Trim() stripping out example spacing

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

描述

In generating help text spacing is supposed to be prefixed to the start of the line to make Usage sections easier to read.

AddLine() calls .Trim() which removes spacing from the start of the line. Since whitespace is used for formatting it should not be calling Trim()

貢獻指南

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

研究方向

Review commandline/src/CommandLine/Text/HelpText.cs and the AddLine() method first. Confirm that leading whitespace used in Usage sections is preserved instead of removed by trimming, then run the repository's relevant tests to verify the help text spacing.

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

評估

技術堆疊
csharp
領域
cli
Issue 類型
缺陷
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
50/100

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

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