Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

filters by check #127

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
6 changes: 4 additions & 2 deletions config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
'ZFTool\Controller\Classmap' => 'ZFTool\Controller\ClassmapController',
'ZFTool\Controller\Create' => 'ZFTool\Controller\CreateController',
'ZFTool\Controller\Install' => 'ZFTool\Controller\InstallController',
'ZFTool\Controller\Diagnostics' => 'ZFTool\Controller\DiagnosticsController',
),
'factories' => array(
'ZFTool\Controller\Diagnostics' => 'ZFTool\Controller\DiagnosticsControllerFactory',
),
),

Expand Down Expand Up @@ -128,7 +130,7 @@
),
'zftool-diagnostics' => array(
'options' => array(
'route' => '(diagnostics|diag) [-v|--verbose]:verbose [--debug] [-q|--quiet]:quiet [-b|--break]:break [<filter>]',
'route' => '(diagnostics|diag) [-v|--verbose]:verbose [--debug] [-q|--quiet]:quiet [-b|--break]:break [<filter>] [<label>]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Diagnostics',
'action' => 'run',
Expand Down
4 changes: 2 additions & 2 deletions config/zftool.global.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ return array(
'router' => array(
'routes' => array(
'zftool-diagnostics' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'type' => 'Zend\Mvc\Router\Http\Segment',
'options' => array(
'route' => '/diagnostics',
'route' => '/diagnostics[/:filter[/:label]]',
'defaults' => array(
'controller' => 'ZFTool\Controller\Diagnostics',
'action' => 'run'
Expand Down
Loading