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 摘要。