diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php index 1ae6b93fb..18846205d 100644 --- a/src/Composer/Command/CreateProjectCommand.php +++ b/src/Composer/Command/CreateProjectCommand.php @@ -75,8 +75,8 @@ EOT $input->getArgument('package'), $input->getArgument('directory'), $input->getArgument('version'), - $input->hasOption('prefer-source'), - $input->hasOption('dev'), + $input->getOption('prefer-source'), + $input->getOption('dev'), $input->getOption('repository-url') ); }