Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference: update pd-ctl flags #1882

Merged
merged 29 commits into from
Oct 23, 2019
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
01f4cbe
update pd-ctl flags
lhy1024 Sep 18, 2019
cb45d52
Update pd-control.md
lhy1024 Sep 18, 2019
8ef1a62
Update pd-control.md
lhy1024 Sep 18, 2019
52791b8
Update pd-control.md
lhy1024 Sep 18, 2019
0323942
Update pd-control.md
lhy1024 Sep 18, 2019
556854a
Update pd-control.md
lhy1024 Sep 18, 2019
475d72b
Merge branch 'master' into lhy1024-patch-1
TomShawn Sep 24, 2019
b7ef981
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
d56036b
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
903cd08
Update v2.1/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
2fc7e7e
Update v3.0/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
91b03c4
Update v2.1/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
000c629
Update v3.0/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
9b5f576
Update v3.0/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
73a4d2c
Update v3.0/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
2e4d5b1
Update v3.0/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
8dbdb85
Update v3.0/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
1d88786
Update v2.1/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
bc89aa3
Update v2.1/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
523006e
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
8a41455
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
c035ad9
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
a9a8af2
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
ba9a5db
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
f8ce1c8
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
f3ec1aa
Update dev/reference/tools/pd-control.md
lhy1024 Sep 24, 2019
d6e7053
Merge branch 'master' into lhy1024-patch-1
lilin90 Sep 27, 2019
2d620d1
Merge branch 'master' into lhy1024-patch-1
lilin90 Oct 14, 2019
acfad1f
Merge branch 'master' into lhy1024-patch-1
lhy1024 Oct 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions dev/reference/tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,32 +49,42 @@ export PD_ADDR=http://127.0.0.1:2379 &&

## 命令行参数(flags)

### \-\-pd,-u
### --cacert

+ 指定 PD 的地址
+ 默认地址: `http://127.0.0.1:2379`
+ 环境变量: PD_ADDR
- 指定 PEM 格式的受信任 CA 证书的文件路径
- 默认值:""

### --cert

- 指定 PEM 格式的 SSL 证书的文件路径
- 默认值:""

### \-\-detach,-d

+ 使用单命令行模式(不进入 readline)
+ 默认值: true

### --cacert
### \-\-help,-h

- 指定 PEM 格式的受信任 CA 的证书文件路径
- 默认值: ""
+ 输出帮助信息
+ 默认值:false

### --cert
### \-\-interact,-i

- 指定 PEM 格式的 SSL 证书文件路径
- 默认值: ""
+ 使用交互模式(进入 readline)
+ 默认值:false

### --key

- 指定 PEM 格式的 SSL 证书密钥文件路径,即 `--cert` 所指定的证书的私钥
- 默认值: ""

### \-\-pd,-u

+ 指定 PD 的地址
+ 默认地址:`http://127.0.0.1:2379`
+ 环境变量:`PD_ADDR`

### --version,-V

- 打印版本信息并退出
Expand Down
24 changes: 12 additions & 12 deletions v2.1/reference/tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,6 @@ export PD_ADDR=http://127.0.0.1:2379

## 命令行参数(flags)

### \-\-pd,-u

+ 指定 PD 的地址
+ 默认地址: `http://127.0.0.1:2379`
+ 环境变量: PD_ADDR

### \-\-detach,-d

+ 使用单命令行模式(不进入 readline)
+ 默认值: false

### --cacert

- 指定 PEM 格式的受信任 CA 的证书文件路径
Expand All @@ -62,11 +51,22 @@ export PD_ADDR=http://127.0.0.1:2379
- 指定 PEM 格式的 SSL 证书文件路径
- 默认值: ""

### \-\-detach,-d

+ 使用单命令行模式(不进入 readline)
+ 默认值:false

### --key

- 指定 PEM 格式的 SSL 证书密钥文件路径,即 `--cert` 所指定的证书的私钥
- 默认值: ""

### \-\-pd,-u

+ 指定 PD 的地址
+ 默认地址:`http://127.0.0.1:2379`
+ 环境变量:`PD_ADDR`

### --version,-V

- 打印版本信息并退出
Expand Down Expand Up @@ -735,4 +735,4 @@ logic: 120102
{"id":4,"remove_peer":[31]}
{"id":22,"remove_peer":[30]}
...
```
```
27 changes: 16 additions & 11 deletions v3.0/reference/tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,6 @@ export PD_ADDR=http://127.0.0.1:2379 &&

## 命令行参数(flags)

### \-\-pd,-u

+ 指定 PD 的地址
+ 默认地址: `http://127.0.0.1:2379`
+ 环境变量: PD_ADDR

### \-\-detach,-d

+ 使用单命令行模式(不进入 readline)
+ 默认值: true

### --cacert

- 指定 PEM 格式的受信任 CA 的证书文件路径
Expand All @@ -71,11 +60,27 @@ export PD_ADDR=http://127.0.0.1:2379 &&
- 指定 PEM 格式的 SSL 证书文件路径
- 默认值: ""

### \-\-detach,-d

+ 使用单命令行模式(不进入 readline)
+ 默认值:true

### \-\-interact,-i

+ 使用交互模式(进入 readline)
+ 默认值:false

### --key

- 指定 PEM 格式的 SSL 证书密钥文件路径,即 `--cert` 所指定的证书的私钥
- 默认值: ""

### \-\-pd,-u

+ 指定 PD 的地址
+ 默认地址:`http://127.0.0.1:2379`
+ 环境变量:`PD_ADDR`

### --version,-V

- 打印版本信息并退出
Expand Down