Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / src / Command / Cache / RebuildCommand.php
index c3a98ab3de2d30d6dfef94a96c91ba649b02ef65..3ad5f0b984b755b816f5307ca81ba5472fafe70e 100644 (file)
@@ -84,7 +84,7 @@ class RebuildCommand extends Command
     protected function execute(InputInterface $input, OutputInterface $output)
     {
         $io = new DrupalStyle($input, $output);
-        $cache = $input->getArgument('cache');
+        $cache = $input->getArgument('cache')?:'all';
         $this->site->loadLegacyFile('/core/includes/utility.inc');
 
         if ($cache && !$this->drupalApi->isValidCache($cache)) {