From a5ce8bd747798cdc89d357bca017eb217d52902c Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 21 Feb 2016 17:50:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20console=20build=20?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E7=9A=84config=E5=8F=82=E6=95=B0=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/console/command/Build.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/think/console/command/Build.php b/library/think/console/command/Build.php index 7201ef63..f96463f4 100644 --- a/library/think/console/command/Build.php +++ b/library/think/console/command/Build.php @@ -11,7 +11,6 @@ namespace think\console\command; - use think\console\Input; use think\console\input\Option; use think\console\Output; @@ -25,7 +24,7 @@ class Build extends Command protected function configure() { $this->setName('build') - ->setDefinition([new Option('config', null, Option::VALUE_OPTIONAL, "build.php path")]) + ->setDefinition([new Option('config', null, Option::VALUE_OPTIONAL, "build.php path", APP_PATH . 'build.php')]) ->setDescription('Build Application Dirs'); } @@ -45,4 +44,4 @@ class Build extends Command $output->writeln("Successed"); } -} \ No newline at end of file +}