Commit 93289e32 authored by Richard Quadling's avatar Richard Quadling

Multiple dialects require a --list per dialect

Without using ``--list|-l`` you get a too many arguments error.

As an example ...

```
[ 15/02/2016 17:45:32 ] [ C:\wamp\www ] >vendor\bin\doctrine-dbal d:re mysql57 mysql


  [Symfony\Component\Console\Exception\RuntimeException]
  Too many arguments.


dbal:reserved-words [-l|--list [LIST]]


[ 15/02/2016 17:47:39 ] [ C:\wamp\www ] >vendor\bin\doctrine-dbal d:re -l mysql57 mysql


  [Symfony\Component\Console\Exception\RuntimeException]
  Too many arguments.


dbal:reserved-words [-l|--list [LIST]]


[ 15/02/2016 17:47:48 ] [ C:\wamp\www ] >vendor\bin\doctrine-dbal d:re -l mysql57 -l mysql
Checking keyword violations for mysql57, mysql...
There are 5 reserved keyword violations in your database schema:
  - Table affiliates column key keyword violations: MySQL57, MySQL
  - Table epos_landing_pages column key keyword violations: MySQL57, MySQL
  - Table purchase_notifications column trigger keyword violations: MySQL57, MySQL
  - Table xpermissions column add keyword violations: MySQL57, MySQL
  - Table xpermissions column delete keyword violations: MySQL57, MySQL
```
parent 625dd635
...@@ -87,7 +87,7 @@ and SQL Anywhere keywords are checked: ...@@ -87,7 +87,7 @@ and SQL Anywhere keywords are checked:
If you want to check against specific dialects you can If you want to check against specific dialects you can
pass them to the command: pass them to the command:
<info>%command.full_name% mysql pgsql</info> <info>%command.full_name% -l mysql -l pgsql</info>
The following keyword lists are currently shipped with Doctrine: The following keyword lists are currently shipped with Doctrine:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment