Use -i instead of -I (-I used by hardcoded INI)

This commit is contained in:
crazywhalecc
2026-05-08 19:08:00 +08:00
parent a980b0a1df
commit 143ae4b8c4
2 changed files with 13 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ spc download [artifacts] [options]
| `--binary-only` | | Only download binary artifacts | | `--binary-only` | | Only download binary artifacts |
| `--parallel=<n>` | `-P` | Number of parallel downloads (default: `1`) | | `--parallel=<n>` | `-P` | Number of parallel downloads (default: `1`) |
| `--retry=<n>` | `-R` | Number of retries on failure (default: `0`) | | `--retry=<n>` | `-R` | Number of retries on failure (default: `0`) |
| `--ignore-cache=<list>` | | Force re-download the specified artifacts | | `--ignore-cache=<list>` | `-i` | Force re-download the specified artifacts |
| `--no-alt` | | Do not use alternative mirror URLs | | `--no-alt` | | Do not use alternative mirror URLs |
| `--no-shallow-clone` | | Do not clone git repositories shallowly | | `--no-shallow-clone` | | Do not clone git repositories shallowly |
| `--custom-url=<src:url>` | `-U` | Override the download URL for a source | | `--custom-url=<src:url>` | `-U` | Override the download URL for a source |

View File

@@ -23,7 +23,7 @@ spc download [artifacts] [options]
### 选项 ### 选项
| 选项 | 缩写 | 说明 | | 选项 | 缩写 | 说明 |
|---|---|---| |---|------|---|
| `--for-extensions=<list>` | `-e` | 按扩展名下载其所需的制品 | | `--for-extensions=<list>` | `-e` | 按扩展名下载其所需的制品 |
| `--for-libs=<list>` | `-l` | 按库名下载其所需的制品 | | `--for-libs=<list>` | `-l` | 按库名下载其所需的制品 |
| `--for-packages=<list>` | | 按包名下载其所需的制品 | | `--for-packages=<list>` | | 按包名下载其所需的制品 |
@@ -36,7 +36,7 @@ spc download [artifacts] [options]
| `--binary-only` | | 仅下载二进制制品 | | `--binary-only` | | 仅下载二进制制品 |
| `--parallel=<n>` | `-P` | 并行下载数(默认 `1`| | `--parallel=<n>` | `-P` | 并行下载数(默认 `1`|
| `--retry=<n>` | `-R` | 失败重试次数(默认 `0`| | `--retry=<n>` | `-R` | 失败重试次数(默认 `0`|
| `--ignore-cache=<list>` | | 强制重新下载指定制品 | | `--ignore-cache=<list>` | `-i` | 强制重新下载指定制品 |
| `--no-alt` | | 不使用镜像站 | | `--no-alt` | | 不使用镜像站 |
| `--no-shallow-clone` | | 不使用浅层克隆 | | `--no-shallow-clone` | | 不使用浅层克隆 |
| `--custom-url=<src:url>` | `-U` | 覆盖指定源的下载地址 | | `--custom-url=<src:url>` | `-U` | 覆盖指定源的下载地址 |