プロジェクト

全般

プロフィール

0001-delete-duplicate-application-and-env-option-settings.patch

Shinichi Urabe, 2014-04-22 17:34

ダウンロード (1.55 KB)

差分を表示:

lib/task/openpneDataMaskTask.class.php
16 16
    $this->name             = 'data-mask';
17 17

  
18 18
    $this->addOptions(array(
19
      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true),
20
      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
21
      new sfCommandOption('file', 'f', sfCommandOption::PARAMETER_OPTIONAL, 'The path to masking rule definition file.', sfConfig::get('sf_config_dir').'/mask.yml'),
22
    ));
23

  
24
    $this->addOptions(array(
25 19
      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null),
26 20
      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
21
      new sfCommandOption('file', 'f', sfCommandOption::PARAMETER_OPTIONAL, 'The path to masking rule definition file.', sfConfig::get('sf_config_dir').'/mask.yml'),
27 22
    ));
28 23

  
29 24
    $this->briefDescription = 'mask data';
30
-