diff --git a/ext/phar/phar.php b/ext/phar/phar.php index a460dc3b357..c2dbd430995 100644 --- a/ext/phar/phar.php +++ b/ext/phar/phar.php @@ -371,7 +371,7 @@ class PharCommand extends CLICommand static function cli_arg_typ_loader($arg) { - if ($arg == 'auto') + if ($arg == 'auto' || $arg == 'optional') { $found = NULL; foreach(split("\n", `pear list-files PHP_Archive`) as $ent)