From 168051c0601c5638459c165cd39bade7cf5ac7d3 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Sun, 6 Oct 2019 22:44:32 +0900 Subject: [PATCH] Make the purge-chain prompt a little nicer (#3772) --- substrate/core/cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/core/cli/src/lib.rs b/substrate/core/cli/src/lib.rs index 7d5593f2cd..2e7619116c 100644 --- a/substrate/core/cli/src/lib.rs +++ b/substrate/core/cli/src/lib.rs @@ -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();