diff --git a/src/console/controllers/ResaveController.php b/src/console/controllers/ResaveController.php index 18365a03dec..6d188c51c3d 100644 --- a/src/console/controllers/ResaveController.php +++ b/src/console/controllers/ResaveController.php @@ -386,11 +386,11 @@ public function actionAll(): int $proceed = true; // ask for confirmation if ($this->interactive && !empty($actionsToSkip)) { - $this->output('Following commands, don’t support all the provided parameters:', Console::FG_YELLOW); + $this->output('Following commands, don’t support all the provided options:', Console::FG_YELLOW); foreach ($actionsToSkip as $id) { $invalidParams = array_map( fn($param) => '--' . StringHelper::toKebabCase($param), - $this->getUnsupportedParams($id, $params) + $this->getUnsupportedOptions($id, $params) ); $count = count($invalidParams); $invalidParams = implode(', ', $invalidParams); @@ -871,7 +871,7 @@ private function doesActionSupportsAllOptions(string $actionId, array $params): * @param array $params * @return array */ - private function getUnsupportedParams(string $actionId, array $params): array + private function getUnsupportedOptions(string $actionId, array $params): array { $unsupportedParams = []; $options = $this->options($actionId);