Skip to content

Commit

Permalink
rename arguement to match command name.
Browse files Browse the repository at this point in the history
  • Loading branch information
richgerdes committed Oct 23, 2018
1 parent fec9641 commit a02f074
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MBO/SatisGitlab/Command/GitlabToConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function configure() {
->addOption('ignore', 'i', InputOption::VALUE_REQUIRED, 'ignore project according to a regexp, for ex : "(^phpstorm|^typo3\/library)"', null)
->addOption('include-if-has-file',null,InputOption::VALUE_REQUIRED, 'include in satis config if project contains a given file, for ex : ".satisinclude"', null)
->addOption('project-type',null,InputOption::VALUE_REQUIRED, 'include in satis config if project is of a specified type, for ex : "library"', null)
->addOption('gitlab-groups',null,InputOption::VALUE_REQUIRED, 'include in satis config if gitlab project namespace is in the list, for ex : "2,Diaspora"', null)
->addOption('gitlab-namespace',null,InputOption::VALUE_REQUIRED, 'include in satis config if gitlab project namespace is in the list, for ex : "2,Diaspora"', null)
/*
* satis config generation options
*/
Expand Down Expand Up @@ -134,9 +134,9 @@ protected function execute(InputInterface $input, OutputInterface $output) {
));
}
/* project-type option */
if ( ! empty($input->getOption('gitlab-groups')) ){
if ( ! empty($input->getOption('gitlab-namespace')) ){
$filterCollection->addFilter(new GitlabNamespaceFilter(
$input->getOption('gitlab-groups')
$input->getOption('gitlab-namespace')
));
}

Expand Down

0 comments on commit a02f074

Please sign in to comment.