diff --git a/src/ZM/Command/Plugin/PluginMakeCommand.php b/src/ZM/Command/Plugin/PluginMakeCommand.php index 1f33078c..f02228cf 100644 --- a/src/ZM/Command/Plugin/PluginMakeCommand.php +++ b/src/ZM/Command/Plugin/PluginMakeCommand.php @@ -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); diff --git a/src/ZM/Framework.php b/src/ZM/Framework.php index e3f8ebe8..b42c1030 100644 --- a/src/ZM/Framework.php +++ b/src/ZM/Framework.php @@ -50,7 +50,7 @@ class Framework public const VERSION_ID = 710; /** @var string 版本名称 */ - public const VERSION = '3.1.5'; + public const VERSION = '3.1.6'; /** * @var RuntimePreferences 运行时偏好(环境信息&参数)