mirror of
https://github.com/darakian/ddh.git
synced 2026-09-10 07:06:21 -04:00
Add some flavor text when overwriting results file
This commit is contained in:
parent
7fe67acf1f
commit
99fa897616
|
|
@ -268,7 +268,10 @@ fn process_full_output(shared_files: &Vec<&Fileinfo>, unique_files: &Vec<&Filein
|
|||
match stdin().read_line(&mut input) {
|
||||
Ok(_n) => {
|
||||
if input.starts_with("N") || input.starts_with("n"){
|
||||
println!("Exiting.");
|
||||
return;
|
||||
} else {
|
||||
println!("Over writing {}", out_file);
|
||||
}
|
||||
}
|
||||
Err(_e) => {/*Error reading user input*/},
|
||||
|
|
|
|||
Loading…
Reference in a new issue