CLI11
CLI11 copied to clipboard
Question: Options formatting
Is there any simple way to get formatted help output for options like this:
Options:
--option1 TEXT Some description for option1
-h, --help Print this help message and quit
--vernum Print the version of the application as integer and quit
-V, --version Print application version information and quit
Instead of (current behavior):
Options:
--option1 TEXT Some description for option1
-h,--help Print this help message and quit
--vernum Print the version of the application as integer and quit
-V,--version Print application version information and quit
Thank you
You can write any formatter you like, there's a system in place for that (not very well documented, though). However, such a change looks quite useful for the main formatter; I'd take a PR to fix that (or may eventually manage to write one myself).