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 +}