Skip to content

Commit

Permalink
Added default into model command
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Dec 27, 2021
1 parent 6dce841 commit 5a577a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/UpgradeModelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class UpgradeModelCommand extends HyperfCommand
public function __construct()
{
parent::__construct('code:regenerate-models');
$this->addArgument('path', InputArgument::REQUIRED, 'The path about Models.');
$this->addArgument('path', InputArgument::REQUIRED, 'The path about Models.', 'app/Model');
$this->setDescription('重新生成适配 Hyperf 3.0 版本的模型');
}

Expand Down

0 comments on commit 5a577a0

Please sign in to comment.