->setName('generate:module:file')
->setDescription($this->trans('commands.generate.module.file.description'))
->setHelp($this->trans('commands.generate.module.file.help'))
->setName('generate:module:file')
->setDescription($this->trans('commands.generate.module.file.description'))
->setHelp($this->trans('commands.generate.module.file.help'))
- ->addOption('module', '', InputOption::VALUE_REQUIRED, $this->trans('commands.common.options.module'));
+ ->addOption('module', null, InputOption::VALUE_REQUIRED, $this->trans('commands.common.options.module'));
// @see use Drupal\Console\Command\Shared\ConfirmationTrait::confirmGeneration
if (!$this->confirmGeneration($io, $yes)) {
// @see use Drupal\Console\Command\Shared\ConfirmationTrait::confirmGeneration
if (!$this->confirmGeneration($io, $yes)) {