Skip to content

Commit

Permalink
path and templatePath requires value when defined as options
Browse files Browse the repository at this point in the history
  • Loading branch information
freezy-sk committed Apr 2, 2014
1 parent d45aaba commit ce9c814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Way/Generators/Commands/GeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ protected function getPathByOptionOrConfig($option, $configName)
protected function getOptions()
{
return [
['path', null, InputOption::VALUE_OPTIONAL, 'Where should the file be created?'],
['templatePath', null, InputOption::VALUE_OPTIONAL, 'The location of the template for this generator']
['path', null, InputOption::VALUE_REQUIRED, 'Where should the file be created?'],
['templatePath', null, InputOption::VALUE_REQUIRED, 'The location of the template for this generator']
];
}

Expand Down

0 comments on commit ce9c814

Please sign in to comment.