mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-17 01:10:02 +00:00
Treat 1.2.3
as =1.2.3
to match cargo-install
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
e2207f7b59
commit
c87941211c
2 changed files with 11 additions and 20 deletions
|
@ -147,8 +147,7 @@ pub enum BinstallError {
|
|||
///
|
||||
/// This may be the case when using the `--version` option.
|
||||
///
|
||||
/// Note that using `--version 1.2.3` is interpreted as the requirement `^1.2.3` as per
|
||||
/// Cargo.toml rules. If you want the exact version 1.2.3, use `--version '=1.2.3'`.
|
||||
/// Note that using `--version 1.2.3` is interpreted as the requirement `=1.2.3`.
|
||||
///
|
||||
/// - Code: `binstall::version::mismatch`
|
||||
/// - Exit: 82
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue