diff --git a/src/StaticPHP/Artifact/DownloaderOptions.php b/src/StaticPHP/Artifact/DownloaderOptions.php index de2e91bf..3e00d3b3 100644 --- a/src/StaticPHP/Artifact/DownloaderOptions.php +++ b/src/StaticPHP/Artifact/DownloaderOptions.php @@ -48,6 +48,7 @@ class DownloaderOptions $shortU = $prefix ? null : 'U'; $shortG = $prefix ? null : 'G'; $shortL = $prefix ? null : 'L'; + $shortI = $prefix ? null : 'i'; return [ // php version option @@ -62,7 +63,7 @@ class DownloaderOptions // download behavior options new InputOption("{$p}parallel", $shortP, InputOption::VALUE_REQUIRED, 'Number of parallel downloads (default 1)', '1'), new InputOption("{$p}retry", $shortR, InputOption::VALUE_REQUIRED, 'Number of download retries on failure (default 0)', '0'), - new InputOption("{$p}ignore-cache", null, InputOption::VALUE_OPTIONAL, 'Ignore some caches when downloading, comma separated, e.g "php-src,curl,openssl"', false), + new InputOption("{$p}ignore-cache", $shortI, InputOption::VALUE_OPTIONAL, 'Ignore some caches when downloading, comma separated, e.g "php-src,curl,openssl"', false), new InputOption("{$p}no-alt", null, null, 'Do not use alternative mirror download artifacts for sources'), new InputOption("{$p}no-shallow-clone", null, null, 'Do not clone shallowly repositories when downloading sources'),