From 4ed6a1473ab3b22be871849e8fccbe3f43ecb335 Mon Sep 17 00:00:00 2001 From: "gitlab.com/pepa65" Date: Wed, 30 Oct 2024 12:31:46 +0700 Subject: [PATCH] yes/NO in interface --- README.md | 2 +- crates/bin/src/ui.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a40466b..c5a1cea1 100644 --- a/README.md +++ b/README.md @@ -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 INFO This will install the following binaries: 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 INFO Installing binaries... INFO Done in 2.838798298s diff --git a/crates/bin/src/ui.rs b/crates/bin/src/ui.rs index ff02d2ec..2e788089 100644 --- a/crates/bin/src/ui.rs +++ b/crates/bin/src/ui.rs @@ -10,7 +10,7 @@ fn ask_for_confirm(stdin: &mut StdinLock, input: &mut String) -> io::Result<()> { 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()?; }