diff --git a/system/Commands/Utilities/Optimize.php b/system/Commands/Utilities/Optimize.php index d833fc5a3063..7caa50c91575 100644 --- a/system/Commands/Utilities/Optimize.php +++ b/system/Commands/Utilities/Optimize.php @@ -73,7 +73,7 @@ public function run(array $params) // Parse options $enableConfigCache = CLI::getOption('c'); $enableLocatorCache = CLI::getOption('l'); - $restoreDefaults = CLI::getOption('r'); + $disable = CLI::getOption('d'); try { $this->enableCaching($enableConfigCache, $enableLocatorCache, $restoreDefaults);