cargo update --precise
without -p
flag silently succeeds and runs cargo update
#10919
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-bug
Category: bug
Command-update
E-easy
Experience: Easy
Problem
I tried to use
cargo update
with the--precise
flag to downgrade a dependency without reading the docs.I tried:
This succeeded with no error and did not do what I expected.
The docs mention that
--precise
is meant to be combined with the-p
flag:Steps
run
cargo update --precise chrono-tz@0.6.1
Possible Solution(s)
The docs mention that
--precise
is meant to be combined with the-p
flag. If--precise
is given without-p
, I think this should be an error.Notes
No response
Version
The text was updated successfully, but these errors were encountered: