mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
yes/NO in interface
This commit is contained in:
parent
e704abe7ac
commit
4ed6a1473a
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ $ cargo binstall radio-sx128x@0.14.1-alpha.5
|
||||||
WARN The package radio-sx128x v0.14.1-alpha.5 (x86_64-unknown-linux-gnu) has been downloaded from github.com
|
WARN The package radio-sx128x v0.14.1-alpha.5 (x86_64-unknown-linux-gnu) has been downloaded from github.com
|
||||||
INFO This will install the following binaries:
|
INFO This will install the following binaries:
|
||||||
INFO - sx128x-util (sx128x-util-x86_64-unknown-linux-gnu -> /home/.cargo/bin/sx128x-util)
|
INFO - sx128x-util (sx128x-util-x86_64-unknown-linux-gnu -> /home/.cargo/bin/sx128x-util)
|
||||||
Do you wish to continue? yes/[no]
|
Do you wish to continue? yes/NO
|
||||||
? yes
|
? yes
|
||||||
INFO Installing binaries...
|
INFO Installing binaries...
|
||||||
INFO Done in 2.838798298s
|
INFO Done in 2.838798298s
|
||||||
|
|
|
@ -10,7 +10,7 @@ fn ask_for_confirm(stdin: &mut StdinLock, input: &mut String) -> io::Result<()>
|
||||||
{
|
{
|
||||||
let mut stdout = io::stdout().lock();
|
let mut stdout = io::stdout().lock();
|
||||||
|
|
||||||
write!(&mut stdout, "Do you wish to continue? yes/[no]\n? ")?;
|
write!(&mut stdout, "Do you wish to continue? yes/NO\n? ")?;
|
||||||
stdout.flush()?;
|
stdout.flush()?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue