Make the purge-chain prompt a little nicer (#3772)

This commit is contained in:
Hernando Castano
2019-10-06 22:44:32 +09:00
committed by Gavin Wood
parent 1a327cd894
commit 168051c060
+1 -1
View File
@@ -423,7 +423,7 @@ impl<'a> ParseAndPreparePurge<'a> {
let db_path = config.database_path;
if !self.params.yes {
print!("Are you sure to remove {:?}? (y/n)", &db_path);
print!("Are you sure to remove {:?}? [y/N]: ", &db_path);
stdout().flush().expect("failed to flush stdout");
let mut input = String::new();