Skip to content

Commit

Permalink
Merge branch 'master' into secure
Browse files Browse the repository at this point in the history
  • Loading branch information
weotch committed Jun 29, 2015
2 parents f95285d + 5c7d3c8 commit b2f6344
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Bkwld/Croppa/Commands/Purge.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Deps
use Bkwld\Croppa\Storage;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;

/**
* Delete ALL crops from the crops_dir
Expand Down Expand Up @@ -57,8 +58,8 @@ public function fire() {
*/
protected function getOptions() {
return [
['filter', null, InputArgument::REQUIRED, 'A regex pattern that whitelists matching crop paths', null],
['dry-run', null, InputOption::VALUE_NONE, 'Only return the crops that would be deleted', false],
['filter', null, InputOption::VALUE_REQUIRED, 'A regex pattern that whitelists matching crop paths', null],
['dry-run', null, InputOption::VALUE_NONE, 'Only return the crops that would be deleted'],
];
}

Expand Down

0 comments on commit b2f6344

Please sign in to comment.