Replace --no-user-output
with --output-format none
(or similar)
#970
Closed
Marcono1234
started this conversation in
General
Replies: 1 comment 3 replies
-
I originally added it because I felt the The type of user output I reasoned is something different. If user output is enabled, then we can still print json output, or something a little more human readable. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently there are two command line arguments to control the output format:
--no-user-output
--output-format <format>
This creates the following issues:
cargo msrv verify --no-user-output --output-format human
But semantically this makes no sense and is rather confusing.
cargo-msrv/src/cli/shared_opts.rs
Lines 27 to 41 in ab2870f
cargo-msrv/src/context.rs
Lines 316 to 328 in ab2870f
In total this makes usage a bit confusing, and the implementation rather complex. What do you think about replacing
--no-user-output
with a newnone
output format (or similar)? For example:--output-format none
This should hopefully solve the issues mentioned above.
Beta Was this translation helpful? Give feedback.
All reactions