mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-06 12:10:02 +00:00
Add new option --locked
that is passed through to cargo-install
(#830)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
0e055dbb7c
commit
96ebcfd08f
4 changed files with 12 additions and 0 deletions
|
@ -150,6 +150,10 @@ impl ResolutionSource {
|
|||
cmd.arg("--force");
|
||||
}
|
||||
|
||||
if opts.locked {
|
||||
cmd.arg("--locked");
|
||||
}
|
||||
|
||||
if !opts.dry_run {
|
||||
let mut child = opts
|
||||
.jobserver_client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue