Skip to content

Commit

Permalink
Update 'tiup cluster edit-config' documentation (#4000)
Browse files Browse the repository at this point in the history
Signed-off-by: Lonng <heng@lonng.org>
  • Loading branch information
lonng authored Jul 20, 2020
1 parent 79eab80 commit abcf5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiup/tiup-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ tiup cluster upgrade tidb-test v4.0.0-rc
tiup cluster edit-config prod-cluster
```

然后 TiUP cluster 组件会使用 vi 打开配置文件供编辑,编辑完之后保存即可。此时的配置并没有应用到集群,如果想要让它生效,还需要执行:
然后 TiUP cluster 组件会使用 vi 打开配置文件供编辑(如果你想要使用其他编辑器,请使用 `EDITOR` 环境变量自定义编辑器,例如 `export EDITOR=nano`),编辑完之后保存即可。此时的配置并没有应用到集群,如果想要让它生效,还需要执行:

{{< copyable "shell-regular" >}}

Expand Down

0 comments on commit abcf5f8

Please sign in to comment.