Change rendering of visible aliases to be more prominent #5454
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.
Hi! We got an issue on the coreutils (uutils/coreutils#6223) about visible aliases not being prominent enough. This is an attempt at fixing that. I'm opening a PR directly instead of opening an issue because I wanted to see what it would look like, but I can move the discussion to an issue if you want. CI will also fail on this, because I haven't adapted the tests yet.
In short, the help output with this change looks like this:
Instead of the
[short aliases: ...]
and[aliases: ...]
. However, I would be happy to try other formats if you prefer. With this format the help output gets misaligned. I haven't looked into that yet and would first like to discuss whether you would even accept this change.Another issue is that the argument might need to be duplicated. In the example above, it looks like only
--blabla
takes an argument and--manifest-path
does not.If you don't want this as default behaviour, I could also make it optional.
Let me know what you think :)