From 612a3c857b21f12cb58381d9a173a10a381e3a59 Mon Sep 17 00:00:00 2001 From: thePanz Date: Wed, 17 Jan 2018 19:29:13 +0100 Subject: [PATCH] Added missing environment/dev options to commands --- lib/task/sfGuardGroupListTask.class.php | 2 ++ lib/task/sfGuardPermissionListTask.class.php | 2 ++ 2 files changed, 4 insertions(+) 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';