Skip to content

Commit 9830f44

Browse files
committed
doc: fix doc
1 parent 1b84e86 commit 9830f44

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535

3636
`goup` is an attempt to fulfill the above features and is heavily inspired by [Rustup](https://rustup.rs/), [golang/dl](https://github.com/golang/dl), [goup](https://github.com/owenthereal/goup), [goenv](https://github.com/syndbg/goenv), [gvm](https://github.com/moovweb/gvm) and [getgo](https://github.com/golang/tools/tree/master/cmd/getgo).
3737

38+
## Build feature flags
39+
40+
- `no-self-update` Disable self-update feature.
41+
3842
## Installation
3943

4044
### Cargo
@@ -281,14 +285,10 @@ export GOUP_GO_REGISTRY=https://mirrors.aliyun.com/golang
281285
- `goup search/ls-remote [FILTER]` lists all available Go versions.
282286
- `goup cache [COMMAND]` Manage cache archive files.
283287
- `goup self <COMMAND>` Modify the goup installation.
284-
- `goup init` write all necessary environment variables and values to `$HOME/.goup/env`.
288+
- `goup init [SHELL]` write all necessary environment variables and values to `$HOME/.goup/env`.
285289
- `goup env` Show the specified goup environment variables and values.
286290
- `goup shell [VERSION]` Using a specific Go version in a shell session.
287291

288-
## Build feature flags
289-
290-
- `no-self-update` Disable self-update feature.
291-
292292
## How to Debug
293293

294294
Default log level is `Info`. You can use `goup -v <subcommand>` or `goup -vv <subcommand>` to use `Debug` or `Trace` level.

README_CN.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535

3636
`goup` 是对上述特性的一种尝试, 其灵感主要来自于 [Rustup](https://rustup.rs/), [golang/dl](https://github.com/golang/dl), [goup](https://github.com/owenthereal/goup), [goenv](https://github.com/syndbg/goenv), [gvm](https://github.com/moovweb/gvm) and [getgo](https://github.com/golang/tools/tree/master/cmd/getgo).
3737

38+
## 构建功能标志
39+
40+
- `no-self-update` 关闭自我更新.
41+
3842
## 安装
3943

4044
### 使用Cargo
@@ -282,14 +286,10 @@ export GOUP_GO_REGISTRY=https://mirrors.aliyun.com/golang
282286
- `goup search/ls-remote [FILTER]` 列出所有可用的Go版本.
283287
- `goup cache [COMMAND]` 管理缓存归档文件.
284288
- `goup self <COMMAND>` 修改`goup`安装程序.
285-
- `goup init` 将所有必要的环境变量和值写入`$HOME/.goup/env`.
289+
- `goup init [SHELL]` 将所有必要的环境变量和值写入`$HOME/.goup/env`.
286290
- `goup env` 显示`goup`的环境变量和值.
287291
- `goup shell [VERSION]` 在shell会话中使用特定的Go版本.
288292

289-
## 构建功能标志
290-
291-
- `no-self-update` 关闭自我更新.
292-
293293
## How to Debug
294294

295295
默认日志级别为`Info`. 你可以使用`goup -v <subcommand>``goup -vv <subcommand>` 来使用 `Debug``Trace` 等级.

0 commit comments

Comments
 (0)