diff --git a/lib/task/sfGuardGroupListTask.class.php b/lib/task/sfGuardGroupListTask.class.php index 44aeb93..0cbc954 100644 --- a/lib/task/sfGuardGroupListTask.class.php +++ b/lib/task/sfGuardGroupListTask.class.php @@ -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'; diff --git a/lib/task/sfGuardPermissionListTask.class.php b/lib/task/sfGuardPermissionListTask.class.php index 15a1956..db8f972 100644 --- a/lib/task/sfGuardPermissionListTask.class.php +++ b/lib/task/sfGuardPermissionListTask.class.php @@ -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';