From 4685af2f55eb51e8c1dfc48320cf098b0c526996 Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Tue, 9 Aug 2016 11:01:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Bconsole?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Console.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/think/Console.php b/library/think/Console.php index c7f8465e..70defadf 100644 --- a/library/think/Console.php +++ b/library/think/Console.php @@ -80,7 +80,7 @@ class Console } if ($run) { // 运行 - $console->run(); + return $console->run(); } else { return $console; } @@ -517,7 +517,6 @@ class Console return $abbrevs; } - /** * 配置基于用户的参数和选项的输入和输出实例。 * @param Input $input 输入实例