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/tools: update binlogctl doc to add "-show-offline-nodes" #1968

Merged
merged 8 commits into from
Oct 24, 2019
3 changes: 3 additions & 0 deletions dev/reference/tools/tidb-binlog/maintain.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ Usage of binlogctl:
PEM 格式的 X509 key 文件的路径
-time-zone string
如果设置时区,在 "generate_meta" 模式下会打印出获取到的 tso 对应的时间。例如"Asia/Shanghai" 为 CST 时区,"Local" 为本地时区
-show-offline-nodes
在用 -cmd pumps 或 -cmd drainers 时使用,这两个命令默认不显示 offline 的节点,仅当明确指定 -show-offline-nodes 时会显示

```

命令示例:
Expand Down
2 changes: 2 additions & 0 deletions v2.1/reference/tools/tidb-binlog/maintain.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Usage of binlogctl:
PEM 格式的 X509 key 文件的路径
-time-zone string
如果设置时区,在 "generate_meta" 模式下会打印出获取到的 tso 对应的时间。例如"Asia/Shanghai" 为 CST 时区,"Local" 为本地时区
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
如果设置时区,在 "generate_meta" 模式下会打印出获取到的 tso 对应的时间。例如"Asia/Shanghai" 为 CST 时区,"Local" 为本地时区
如果设置时区,在 "generate_meta" 模式下会打印出获取到的 tso 对应的时间。例如 "Asia/Shanghai" 为 CST 时区,"Local" 为本地时区

-show-offline-nodes
在用 -cmd pumps 或 -cmd drainers 时使用,这两个命令默认不显示 offline 的节点,仅当明确指定 -show-offline-nodes 时会显示
```

命令示例:
Expand Down
2 changes: 2 additions & 0 deletions v3.0/reference/tools/tidb-binlog/maintain.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Usage of binlogctl:
PEM 格式的 X509 key 文件的路径
-time-zone string
如果设置时区,在 "generate_meta" 模式下会打印出获取到的 tso 对应的时间。例如"Asia/Shanghai" 为 CST 时区,"Local" 为本地时区
-show-offline-nodes
在用 -cmd pumps 或 -cmd drainers 时使用,这两个命令默认不显示 offline 的节点,仅当明确指定 -show-offline-nodes 时会显示
```

命令示例:
Expand Down