You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
So far I've not been too particular about trailing whitespace so long as it doesn't get styled because it can add a bit of bookkeeping (affecting binary size) for something most people won't see.
Please complete the following tasks
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
The text was updated successfully, but these errors were encountered: