8000 Update task docs · symfony/symfony@d73e797 · GitHub
[go: up one dir, main page]

Skip to content

Commit d73e797

Browse files
Update task docs
1 parent 68f8708 commit d73e797

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function configure()
< 8000 /div>
5959
->setDescription('Lints a file and outputs encountered errors')
6060
->addArgument('filename', InputArgument::IS_ARRAY, 'A file, a '.$this->lintConfig.' config, a directory or "-" for reading from STDIN')
6161
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format')
62-
->addOption('exclude', null, InputOption::VALUE_REQUIRED, 'Files to exclude')
62+
->addOption('exclude', null, InputOption::VALUE_REQUIRED, 'Path(s) to exclude')
6363
->addOption('parse-tags', null, InputOption::VALUE_NONE, 'Parse custom tags')
6464
->setHelp(<<<EOF
6565
The <info>%command.name%</info> command lints a YAML file and outputs to STDOUT
@@ -81,7 +81,10 @@ protected function configure()
8181
8282
<info>php %command.full_name% dirname</info>
8383
<info>php %command.full_name% dirname --format=json</info>
84-
<info>php %command.full_name% dirname --exclude=dirname/foo.yml</info>
84+
85+
You can also exclude one or more specific files:
86+
87+
<info>php %command.full_name% dirname --exclude="dirname/foo.yml ..."</info>
8588
8689
EOF
8790
)

0 commit comments

Comments
 (0)
0