fix command short name conflict bug

This commit is contained in:
Jerry
2023-03-28 09:35:13 +08:00
parent dd975c553d
commit 469b0579ab
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ class PluginMakeCommand extends PluginCommand
{
$this->addArgument('name', InputArgument::OPTIONAL, '插件名称', null);
$this->addOption('author', 'a', InputOption::VALUE_OPTIONAL, '作者名称', null);
$this->addOption('description', 'd', InputOption::VALUE_OPTIONAL, '插件描述', null);
$this->addOption('description', null, InputOption::VALUE_OPTIONAL, '插件描述', null);
$this->addOption('plugin-version', null, InputOption::VALUE_OPTIONAL, '插件版本', '1.0.0');
$this->addOption('type', 'T', InputOption::VALUE_OPTIONAL, '插件类型', null);