Repository navigation
Helptext align - #3257
Merged
Merged
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>
systemcrash
force-pushed
the
helpalign
branch
from
January 12, 2026 21:40
f1c5286 to
7f0df9e
Compare
|
β Build nut 2.8.4.3975-master failed (commit ed50742468 by @systemcrash) |
Member
|
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- |
Member
|
@systemcrash : check CI complaints, something mismatched with |
Contributor
Author
|
I checked other drivers. Iβll take a look at those errorsβ¦ |
instead of Acceptable values...: blah, blah print: Acceptable values...: blah1 blah2 ... Signed-off-by: Paul Donald <newtwen+github@gmail.com>
systemcrash
force-pushed
the
helpalign
branch
from
January 14, 2026 14:43
7f0df9e to
85512e0
Compare
Member
|
Disregard the netbsd runner fault, ran out of disk. |
Challado
pushed a commit
to Challado/nut
that referenced
this pull request
Oct 14, 2026
Helptext align SVN-Git-Bridge: nut-3e341d2d9c-3fc79f1e8124 e395935 Bridge-Author: Jim Klimov <jimklimov+nut@gmail.com> Bridge-Author-Date: 2026-01-17T13:30:51+01:00 Bridge-Committer: GitHub <noreply@github.com> Bridge-Committer-Date: 2026-01-17T13:30:51+01:00 From: Jim Klimov <jimklimov+nut@gmail.com> git-svn-id: file:///mnt/export/subversion/nut/trunk@4564 5f2f2009-99cd-4845-9af7-39d0aa6e3748
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This aligns
-houtput e.g.:and