commandlineparser / commandlineparser/commandline
commandline/src/CommandLine/Text/HelpText.cs AddLine() calls value.Trim() stripping out example spacing
- Ngôn ngữ chính
- C#
- Star
- 4.8k
- Fork
- 478
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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()
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 50/100