Skip to content

Commit 4fa7b1f

Browse files
ro0NLfabpot
authored andcommitted
[FrameworkBundle] Cache pool clear command requires at least 1 pool
1 parent 80c2c1c commit 4fa7b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/CachePoolClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function configure()
3333
$this
3434
->setName('cache:pool:clear')
3535
->setDefinition(array(
36-
new InputArgument('pools', InputArgument::IS_ARRAY, 'A list of cache pools or cache pool clearers'),
36+
new InputArgument('pools', InputArgument::IS_ARRAY | InputArgument::REQUIRED, 'A list of cache pools or cache pool clearers'),
3737
))
3838
->setDescription('Clears cache pools')
3939
->setHelp(<<<'EOF'

0 commit comments

Comments
 (0)