diff --git a/src/Handler/ConsoleHandler.php b/src/Handler/ConsoleHandler.php index def0894..7c01be8 100644 --- a/src/Handler/ConsoleHandler.php +++ b/src/Handler/ConsoleHandler.php @@ -237,7 +237,7 @@ private static function analyseOption(array $args, StatementsSource $statements_ */ private static function normalizeOptionParams(array $args): array { - return self::normalizeParams(['name', 'shortcut', 'mode', 'description', 'default'], $args); + return self::normalizeParams(['name', 'shortcut', 'mode', 'description', 'default', 'suggestedValues'], $args); } /** @@ -247,7 +247,7 @@ private static function normalizeOptionParams(array $args): array */ private static function normalizeArgumentParams(array $args): array { - return self::normalizeParams(['name', 'mode', 'description', 'default'], $args); + return self::normalizeParams(['name', 'mode', 'description', 'default', 'suggestedValues'], $args); } private static function normalizeParams(array $params, array $args): array