-
-
Notifications
You must be signed in to change notification settings - Fork 411
Helptext align #3257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Helptext align #3257
Conversation
print the self describing parameter name first, then the descriptive text. Otherwise it's a wall of text where one has to search for the parameter, because it's unaligned. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
instead of Acceptable values...: blah, blah print: Acceptable values...: blah1 blah2 ... Signed-off-by: Paul Donald <newtwen+github@gmail.com>
f1c5286 to
7f0df9e
Compare
|
❌ Build nut 2.8.4.3975-master failed (commit ed50742468 by @systemcrash) |
|
Thanks, that does look rather neat. The original design aimed for descriptions to be under 40 chars, so they would also align prettily, but this was not closely followed. For PR benefits' comparison, here's how such help looked before (in current master branch) for e.g. @systemcrash : did you check any other drivers with complex outputs, if they need any custom fixes like you had for a couple of non- |
|
@systemcrash : check CI complaints, something mismatched with |
This aligns
-houtput e.g.:and