diff --git a/includes/classes/Command.php b/includes/classes/Command.php index 4d6579f104..9931569bb6 100644 --- a/includes/classes/Command.php +++ b/includes/classes/Command.php @@ -706,7 +706,7 @@ public function sync( $args, $assoc_args ) { } if ( ! function_exists( 'pcntl_signal' ) ) { - WP_CLI::warning( esc_html__( 'Function pcntl_signal not available. Make sure to run `wp elasticpress clear-index` in case the process is killed.', 'elasticpress' ) ); + WP_CLI::warning( esc_html__( 'Function pcntl_signal not available. Make sure to run `wp elasticpress clear-sync` in case the process is killed.', 'elasticpress' ) ); } else { declare( ticks = 1 ); pcntl_signal( SIGINT, [ $this, 'delete_transient_on_int' ] );