We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentbbf3694 commitf956dccCopy full SHA for f956dcc
src/Symfony/Bridge/Twig/Command/LintCommand.php
@@ -55,7 +55,7 @@ protected function configure(): void
55
->addOption('format',null, InputOption::VALUE_REQUIRED,\sprintf('The output format ("%s")',implode('", "',$this->getAvailableFormatOptions())))
56
->addOption('show-deprecations',null, InputOption::VALUE_NONE,'Show deprecations as errors')
57
->addArgument('filename', InputArgument::IS_ARRAY,'A file, a directory or "-" for reading from STDIN')
58
- ->addOption('excludes',null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,'Excluded directories', [])
+ ->addOption('excludes',null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY,'Excluded directories', [])
59
->setHelp(<<<'EOF'
60
The <info>%command.name%</info> command lints a template and outputs to STDOUT
61
the first encountered syntax error.