Skip to content

Commit e64a77c

Browse files
Add the docs for the new --exclude option
1 parent 8c54c21 commit e64a77c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/yaml.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,12 @@ Then, execute the script for validating contents:
433433
# or contents passed to STDIN
434434
$ cat path/to/file.yaml | php lint.php
435435
436+
Use the `--exclude` option to exclude one or more specific files from multiple file list:
437+
438+
.. code-block:: terminal
439+
440+
$ php lint.php path/to/directory --exclude=/dirname/foo.yaml --exclude=/dirname/bar.yaml
441+
436442
The result is written to STDOUT and uses a plain text format by default.
437443
Add the ``--format`` option to get the output in JSON format:
438444

0 commit comments

Comments
 (0)