OSDN Git Service

colorize update candidates. fixes #638
authorscribu <mail@scribu.net>
Tue, 6 Aug 2013 00:06:02 +0000 (03:06 +0300)
committerscribu <mail@scribu.net>
Tue, 6 Aug 2013 00:06:02 +0000 (03:06 +0300)
php/WP_CLI/CommandWithUpgrade.php

index aaac62e..8e3e6c8 100644 (file)
@@ -192,7 +192,7 @@ abstract class CommandWithUpgrade extends \WP_CLI_Command {
                                }
                        }
 
-                       \WP_CLI::line( $item_list );
+                       \WP_CLI::line( \WP_CLI::colorize( $item_list ) );
                        return;
                }