Skip to content

Commit 3d79a66

Browse files
Merge pull request #12 from Sidsector9/feature/GH#2
Feature/gh#2
2 parents c41c5aa + 6e56708 commit 3d79a66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DB_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function create( $_, $assoc_args ) {
6161
* Success: Database dropped.
6262
*/
6363
public function drop( $_, $assoc_args ) {
64-
WP_CLI::confirm( "Are you sure you want to drop the database?", $assoc_args );
64+
WP_CLI::confirm( "Are you sure you want to drop the '" . DB_NAME . "' database?", $assoc_args );
6565

6666
self::run_query( sprintf( 'DROP DATABASE `%s`', DB_NAME ) );
6767

@@ -86,7 +86,7 @@ public function drop( $_, $assoc_args ) {
8686
* Success: Database reset.
8787
*/
8888
public function reset( $_, $assoc_args ) {
89-
WP_CLI::confirm( "Are you sure you want to reset the database?", $assoc_args );
89+
WP_CLI::confirm( "Are you sure you want to reset the '" . DB_NAME . "' database?", $assoc_args );
9090

9191
self::run_query( sprintf( 'DROP DATABASE IF EXISTS `%s`', DB_NAME ) );
9292
self::run_query( self::get_create_query() );

0 commit comments

Comments
 (0)