commandlineparser / commandlineparser/commandline

Add formatting overloads to HelpText.AddXXXLine(s)/Text (a la Console.WriteLine)

Đang mở
#192 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
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ả

It would be convenient if `AddPostOptionsLine(string value)` and its sibling methods had formatting string (`String.Format` style) overloads such as `AddPostOptionsLine(string format, param args[])`.

This would allow code such as:

```cs
int ExitCodeSuccess = 0;
myHelpText.AddPostOptionsLine("{0} = Success", ExitCodeSuccess);
```

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

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.