Skip to content

Commit

Permalink
doc: update docs/sdkman.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 7, 2024
1 parent c343cb3 commit 844bc6d
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions docs/sdkman.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,22 +311,22 @@ $ sdk offline disable

```shell
$ sdk list groovy
---------------------------

离线模式:仅显示已安装的groovy版本
--------------------------
>
> 2.4.4

- 2.4.3

--------------------------

- - installed
>
> - currently in use
>
---------------------------
# ---------------------------
#
# 离线模式:仅显示已安装的groovy版本
# --------------------------
# >
# > 2.4.4
#
# - 2.4.3
#
# --------------------------
#
# - - installed
# >
# > - currently in use
# >
# ---------------------------
```

当互联网可用/不可用时,离线模式也将自动禁用/启用。当然,需要互联网连接的命令不会起作用,但会发出警告。
Expand All @@ -338,6 +338,7 @@ $ sdk list groovy
```shell
WARNING: SDKMAN is out-of-date and requires an update.
```
<!--rehype:className=wrap-text-->

只需运行以下命令,就可以刷新 SDK 缓存,并且可以安装新的 SDK 缓存:

Expand Down

0 comments on commit 844bc6d

Please sign in to comment.