projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
drupal
/
console
/
src
/
Command
/
Generate
/
HelpCommand.php
diff --git
a/vendor/drupal/console/src/Command/Generate/HelpCommand.php
b/vendor/drupal/console/src/Command/Generate/HelpCommand.php
index afbf98a70a7353e2cf165fbd92817921154cfec2..678ce71434f22455b65e413e2530d66837a85fc8 100644
(file)
--- a/
vendor/drupal/console/src/Command/Generate/HelpCommand.php
+++ b/
vendor/drupal/console/src/Command/Generate/HelpCommand.php
@@
-76,13
+76,13
@@
class HelpCommand extends Command
->setHelp($this->trans('commands.generate.help.help'))
->addOption(
'module',
->setHelp($this->trans('commands.generate.help.help'))
->addOption(
'module',
-
''
,
+
null
,
InputOption::VALUE_REQUIRED,
$this->trans('commands.common.options.module')
)
->addOption(
'description',
InputOption::VALUE_REQUIRED,
$this->trans('commands.common.options.module')
)
->addOption(
'description',
-
''
,
+
null
,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.module.options.description')
);
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.module.options.description')
);
@@
-97,7
+97,7
@@
class HelpCommand extends Command
// @see use Drupal\Console\Command\ConfirmationTrait::confirmGeneration
if (!$this->confirmGeneration($io)) {
// @see use Drupal\Console\Command\ConfirmationTrait::confirmGeneration
if (!$this->confirmGeneration($io)) {
- return;
+ return
1
;
}
$module = $input->getOption('module');
}
$module = $input->getOption('module');
@@
-118,6
+118,8
@@
class HelpCommand extends Command
->generate($module, $description);
$this->chainQueue->addCommand('cache:rebuild', ['cache' => 'discovery']);
->generate($module, $description);
$this->chainQueue->addCommand('cache:rebuild', ['cache' => 'discovery']);
+
+ return 0;
}
protected function interact(InputInterface $input, OutputInterface $output)
}
protected function interact(InputInterface $input, OutputInterface $output)