dotnet / dotnet/command-line-api
Odd formatting with long option descriptions being displayed
Open
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Noticed there are some extra spaces (or new lines) being added with long option descriptions. Try resizing the console window.
Used the following....
```csharp
Option myOption = new(
new string[] { "--very-long-option" },
"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890") {
ArgumentHelpName = "option",
};
```

Contributor guide
Assessment
This issue has not been assessed yet.