From b296c6bb926ab3ba7e43df8436c0bb5cb41c704c Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Tue, 22 Aug 2023 11:00:22 +0100 Subject: [PATCH] feat(bin): show db path when confirming the drop (#4309) --- bin/reth/src/db/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reth/src/db/mod.rs b/bin/reth/src/db/mod.rs index 9671f8d795..53a24b718a 100644 --- a/bin/reth/src/db/mod.rs +++ b/bin/reth/src/db/mod.rs @@ -188,7 +188,7 @@ impl Command { Subcommands::Drop { force } => { if !force { // Ask for confirmation - print!("Are you sure you want to drop the database? This cannot be undone. (y/N): "); + print!("Are you sure you want to drop the database at {db_path:?}? This cannot be undone. (y/N): "); // Flush the buffer to ensure the message is printed immediately io::stdout().flush().unwrap();