- Notifications
You must be signed in to change notification settings - Fork 286
Description
FEATURE REQUEST :)
I noticed that the HelpText MaximumDisplayWidth is always 80, and I see in the code that it defaults to this. I think that if this would be setup automatically to the current width of the console this would be a better user experience.
All the command line tools I have used over the years will change the next time I run them if I just resize the console window, which is nice for the help to size with it.
I was trying to find a workaround but didn't see any wiki/docs on how to get access to the HelpText that is created with AutoBuild as it appears to be done inline on the Parser.DisplayHelp.
An alternative would be to provide the console width by setting a value in the Parser.Default.Settings, or as a argument to the ParseArguments method as well which can then be used by the HelpText class when its needed.