From ab672127e694afa079758f52c6b4af8dabb60c79 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 12 Dec 2021 02:46:30 +0800 Subject: [PATCH] 1 --- kiri-gii/GiiCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kiri-gii/GiiCommand.php b/kiri-gii/GiiCommand.php index 6d3b2b92..89294078 100644 --- a/kiri-gii/GiiCommand.php +++ b/kiri-gii/GiiCommand.php @@ -32,9 +32,9 @@ class GiiCommand extends Command protected function configure() { $this->setName('sw:gii') - ->addOption('make', InputArgument::OPTIONAL) - ->addOption('name', InputArgument::OPTIONAL) - ->addOption('databases', InputArgument::OPTIONAL) + ->addOption('make','m', InputArgument::OPTIONAL) + ->addOption('name','t', InputArgument::OPTIONAL) + ->addOption('databases','d', InputArgument::OPTIONAL) ->setDescription('./snowflake sw:gii make=model|controller|task|interceptor|limits|middleware name=xxxx'); }