mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 18:10:42 +00:00
fix description and help text
This commit is contained in:
parent
7c9ef030d6
commit
8b67c33fa7
|
|
@ -38,8 +38,8 @@ class PackageextensionCommand extends Command
|
||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this->setName('ext:package')
|
$this->setName('ext:package')
|
||||||
->setDescription('Package extension as a zip file. If --output-dir is given, the zip file will be placed into this directory otherwise it will be saved in the current directory. The name of the zip file will be <extname>-<version>.zip. If such a file already exists, it will be deleted and recreated.')
|
->setDescription('Package extension as a zip file')
|
||||||
->setHelp('Creates a zip file of an extension, which can be uploaded into SeedDMS.')
|
->setHelp('Creates a zip file of an extension, which can be uploaded into SeedDMS. If --output-dir is given, the zip file will be placed into this directory otherwise it will be saved in the current directory. The name of the zip file will be <extname>-<version>.zip. If such a file already exists, it will be deleted and recreated.')
|
||||||
->addOption('name', '', InputOption::VALUE_REQUIRED, 'Name of extension.', null)
|
->addOption('name', '', InputOption::VALUE_REQUIRED, 'Name of extension.', null)
|
||||||
->addOption('output-dir', '', InputOption::VALUE_REQUIRED, 'Name of directory where the zip file is saved.', null)
|
->addOption('output-dir', '', InputOption::VALUE_REQUIRED, 'Name of directory where the zip file is saved.', null)
|
||||||
;
|
;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user