title: Zend Framework 2 Console Routes
body: <p>I'm trying to define some console routes for my ZF2 application as described here <a href="http://packages.zendframework.com/docs/latest/manual/en/modules/zend.console.routes.html" rel="nofollow">http://packages.zendframework.com/docs/latest/manual/en/modules/zend.console.routes.html</a></p>
  
  <p>in the module config I have:</p>
  
  <pre><code>'console' =&gt; array(
      'router' =&gt; array(
          'routes' =&gt; array(
              'user-set-password' =&gt; array(
                  'options' =&gt; array(
                      'route' =&gt; 'user password &lt;username&gt; &lt;password&gt;',
                      'defaults' =&gt; array(
                          'controller' =&gt; 'User\Profile',
                          'action' =&gt; 'setpassword'
                      ),
                  ),
              ),
          ),
      ),
  ),
  </code></pre>
  
  <p>but it seems to never match the route as it always prints the usage information. also simple routes like just 'test' won't be matched.
  (when I write some crap into the route parameter, the execution fails with an <code>Zend\Mvc\Router\Exception\InvalidArgumentException</code> so it recognizes the console route when loading the module)</p>
  
  <p>is it my fault or maybe a bug in the latest zf2 version?</p>