-
-
Couldn't load subscription status.
- Fork 1.1k
Open
Labels
C-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations
Description
Please complete the following tasks
- I have searched the discussions
- I have searched the open and rejected issues
Clap Version
4.3.21
Describe your use case
In the rustup project, we use the trycmd crate to make sure we don't regress help output. However, while upgrading clap from 3 to 4, I noticed that clap 4 seems to output trailing spaces in some cases:
Personally, I have configured VS Code to files.trimTrailingWhitespace which I believe is helpful in most cases. As such, it has proven to be challenging to fix up the trycmd snapshots.
Describe the solution you'd like
Ideally I think clap should not output trailing whitespace.
Alternatives, if applicable
Do nothing, I guess -- I suppose this is a niche concern.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations