Add spaces to confirm prompts

This commit is contained in:
Leonard Steppy 2025-01-15 18:18:01 +01:00
parent 0829590486
commit 25286daea9

View File

@ -266,7 +266,7 @@ fn main() -> Result<(), String> {
} }
if !no_confirm { if !no_confirm {
match input!("Continue? [Y|n]").to_lowercase().as_str() { match input!("Continue? [Y|n] ").to_lowercase().as_str() {
"n" | "no" => { "n" | "no" => {
log!(logger, "Aborting..."); log!(logger, "Aborting...");
return Ok(()); return Ok(());
@ -359,7 +359,7 @@ fn main() -> Result<(), String> {
); );
if !args.quiet { if !args.quiet {
match input!("{duplication_notification}. Do you want to replace it? [N|y]") match input!("{duplication_notification}. Do you want to replace it? [N|y] ")
.to_lowercase() .to_lowercase()
.as_str() .as_str()
{ {