diff --git a/docs/en/guide/cli-reference.md b/docs/en/guide/cli-reference.md index a02c6ec5..5a162f97 100644 --- a/docs/en/guide/cli-reference.md +++ b/docs/en/guide/cli-reference.md @@ -36,7 +36,7 @@ spc download [artifacts] [options] | `--binary-only` | | Only download binary artifacts | | `--parallel=` | `-P` | Number of parallel downloads (default: `1`) | | `--retry=` | `-R` | Number of retries on failure (default: `0`) | -| `--ignore-cache=` | | Force re-download the specified artifacts | +| `--ignore-cache=` | `-i` | Force re-download the specified artifacts | | `--no-alt` | | Do not use alternative mirror URLs | | `--no-shallow-clone` | | Do not clone git repositories shallowly | | `--custom-url=` | `-U` | Override the download URL for a source | diff --git a/docs/zh/guide/cli-reference.md b/docs/zh/guide/cli-reference.md index 961e0aff..7c0d5d33 100644 --- a/docs/zh/guide/cli-reference.md +++ b/docs/zh/guide/cli-reference.md @@ -22,23 +22,23 @@ spc download [artifacts] [options] ### 选项 -| 选项 | 缩写 | 说明 | -|---|---|---| +| 选项 | 缩写 | 说明 | +|---|------|---| | `--for-extensions=` | `-e` | 按扩展名下载其所需的制品 | | `--for-libs=` | `-l` | 按库名下载其所需的制品 | -| `--for-packages=` | | 按包名下载其所需的制品 | -| `--without-suggests` | | 使用 `--for-extensions` 时跳过建议包 | -| `--clean` | | 下载前删除旧的下载缓存 | -| `--with-php=` | | PHP 版本,格式为 `major.minor`(默认 `8.4`)| +| `--for-packages=` | | 按包名下载其所需的制品 | +| `--without-suggests` | | 使用 `--for-extensions` 时跳过建议包 | +| `--clean` | | 下载前删除旧的下载缓存 | +| `--with-php=` | | PHP 版本,格式为 `major.minor`(默认 `8.4`)| | `--prefer-binary` | `-p` | 优先使用预编译二进制 | -| `--prefer-source` | | 优先使用源码包 | -| `--source-only` | | 仅下载源码制品 | -| `--binary-only` | | 仅下载二进制制品 | +| `--prefer-source` | | 优先使用源码包 | +| `--source-only` | | 仅下载源码制品 | +| `--binary-only` | | 仅下载二进制制品 | | `--parallel=` | `-P` | 并行下载数(默认 `1`)| | `--retry=` | `-R` | 失败重试次数(默认 `0`)| -| `--ignore-cache=` | | 强制重新下载指定制品 | -| `--no-alt` | | 不使用镜像站 | -| `--no-shallow-clone` | | 不使用浅层克隆 | +| `--ignore-cache=` | `-i` | 强制重新下载指定制品 | +| `--no-alt` | | 不使用镜像站 | +| `--no-shallow-clone` | | 不使用浅层克隆 | | `--custom-url=` | `-U` | 覆盖指定源的下载地址 | | `--custom-git=` | `-G` | 覆盖为自定义 git 仓库 | | `--custom-local=` | `-L` | 使用本地路径作为制品来源 |