Skip to content

Commit 612a3c8

Browse files
committed
Added missing environment/dev options to commands
1 parent c282ecd commit 612a3c8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/task/sfGuardGroupListTask.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ protected function configure()
2929
$this->addOptions(array(
3030
new sfCommandOption('with-perm', null, sfCommandOption::PARAMETER_NONE, 'Join with Permissions'),
3131
new sfCommandOption('with-users', null, sfCommandOption::PARAMETER_NONE, 'Join with Users'),
32+
new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null),
33+
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
3234
));
3335

3436
$this->namespace = 'guard';

lib/task/sfGuardPermissionListTask.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ protected function configure()
2929
$this->addOptions(array(
3030
new sfCommandOption('with-groups', null, sfCommandOption::PARAMETER_NONE, 'Join with Groups'),
3131
new sfCommandOption('with-users', null, sfCommandOption::PARAMETER_NONE, 'Join with Users'),
32+
new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null),
33+
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
3234
));
3335

3436
$this->namespace = 'guard';

0 commit comments

Comments
 (0)