Update README.md

This commit is contained in:
Oliver Davies 2018-01-15 21:21:28 +00:00 committed by GitHub
parent 04a97375f2
commit 1fad61005c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ For example:
```php
<?php
require __DIR__ . '/vendor/autoload.php';
require_once __DIR__.'/vendor/autoload.php';
$filters = [];
@ -34,7 +34,12 @@ return $filters;
### Step 3: Generate the XML
Run `./vendor/bin/generate-filters > filters.xml` to generate the XML for the filters and export it into a file.
Run `./vendor/bin/generate-filters` to generate the XML for the filters and export it into a file.
#### Options
- `--input-file` - specify the name of the file containing the filters (defaults to `filters.php`).
- `--output-file` - specify the name of the output file (defaults to `filters.xml`).
### Step 4: Import the Filters