From d32f71c6baf32a040fbb47027b5e38615e38a535 Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Sat, 25 Mar 2017 15:42:26 +0100 Subject: [PATCH] [FrameworkBundle] Cache pool clear command requires at least 1 pool --- .../Bundle/FrameworkBundle/Command/CachePoolClearCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/CachePoolClearCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/CachePoolClearCommand.php index 9c6ab53a82f46..3ee9f086aedbc 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/CachePoolClearCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/CachePoolClearCommand.php @@ -33,7 +33,7 @@ protected function configure() $this ->setName('cache:pool:clear') ->setDefinition(array( - new InputArgument('pools', InputArgument::IS_ARRAY, 'A list of cache pools or cache pool clearers'), + new InputArgument('pools', InputArgument::IS_ARRAY | InputArgument::REQUIRED, 'A list of cache pools or cache pool clearers'), )) ->setDescription('Clears cache pools') ->setHelp(<<<'EOF'