8000 bug #43088 [Yaml] remove shortcut e for option exclude of Yaml/LintCo… · symfony/symfony@44042f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44042f6

Browse files
committed
bug #43088 [Yaml] remove shortcut e for option exclude of Yaml/LintCommand - solve conflict with --env -e (Chris53897)
This PR was merged into the 5.4 branch. Discussion ---------- [Yaml] remove shortcut e for option exclude of Yaml/LintCommand - solve conflict with --env -e …- solve conflict with --env -e | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #43086 | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Fix for command options shortcut conflict Commits ------- bc95dbd fix: #43086 remove shortcut e for option exclude of Yaml/LintCommand - solve conflict with --env -e
2 parents 5e291ce + bc95dbd commit 44042f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Yaml/Command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function configure()
5858
->setDescription(self::$defaultDescription)
5959
->addArgument('filename', InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from STDIN')
6060
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format')
61-
->addOption('exclude', 'e', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Path(s) to exclude')
61+
->addOption('exclude', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Path(s) to exclude')
6262
->addOption('parse-tags', null, InputOption::VALUE_NEGATABLE, 'Parse custom tags', null)
6363
->setHelp(<<<EOF
6464
The <info>%command.name%</info> command lints a YAML file and outputs to STDOUT

0 commit comments

Comments
 (0)
0