From 5448727c231d81b82258954364f7a9e3e8fa1b06 Mon Sep 17 00:00:00 2001 From: scribu Date: Sun, 17 Feb 2013 01:59:09 +0200 Subject: [PATCH] use WP_CLI::warning() instead of passing false to WP_CLI::error() --- php/WP_CLI/CommandWithDBObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/WP_CLI/CommandWithDBObject.php b/php/WP_CLI/CommandWithDBObject.php index 8b252663..773f81d4 100644 --- a/php/WP_CLI/CommandWithDBObject.php +++ b/php/WP_CLI/CommandWithDBObject.php @@ -61,7 +61,7 @@ abstract class CommandWithDBObject extends \WP_CLI_Command { \WP_CLI::success( $msg ); $status = 0; } else { - \WP_CLI::error( $msg, false ); + \WP_CLI::warning( $msg ); $status = 1; } -- 2.11.0