Skip to content

Commit

Permalink
Added missing environment/dev options to commands
Browse files Browse the repository at this point in the history
  • Loading branch information
thePanz committed Jan 17, 2018
1 parent c282ecd commit 612a3c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/task/sfGuardGroupListTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ protected function configure()
$this->addOptions(array(
new sfCommandOption('with-perm', null, sfCommandOption::PARAMETER_NONE, 'Join with Permissions'),
new sfCommandOption('with-users', null, sfCommandOption::PARAMETER_NONE, 'Join with Users'),
new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null),
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
));

$this->namespace = 'guard';
Expand Down
2 changes: 2 additions & 0 deletions lib/task/sfGuardPermissionListTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ protected function configure()
$this->addOptions(array(
new sfCommandOption('with-groups', null, sfCommandOption::PARAMETER_NONE, 'Join with Groups'),
new sfCommandOption('with-users', null, sfCommandOption::PARAMETER_NONE, 'Join with Users'),
new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null),
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
));

$this->namespace = 'guard';
Expand Down

0 comments on commit 612a3c8

Please sign in to comment.