This is an automated email from the ASF dual-hosted git repository.

huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 4976fad  Add select, shutdown command document (#255)
4976fad is described below

commit 4976fadcc9a6ed1162971210f49de389abf961a9
Author: LiZhen <[email protected]>
AuthorDate: Sat Jan 26 22:25:02 2019 +0800

    Add select, shutdown command document (#255)
---
 docs/en-us/user/references/telnet.md | 14 ++++++++++++--
 docs/zh-cn/user/references/telnet.md | 11 ++++++++++-
 2 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/docs/en-us/user/references/telnet.md 
b/docs/en-us/user/references/telnet.md
index 2104309..dff1120 100644
--- a/docs/en-us/user/references/telnet.md
+++ b/docs/en-us/user/references/telnet.md
@@ -63,6 +63,10 @@ The built-in telnet commands are listed below. Furthermore, 
it is possible to ex
 0. `invoke XxxService.xxxMethod({"prop": "value"})`: invoke particular method 
for the given service
 0. `invoke xxxMethod({"prop": "value"})`: invoke particular method for the 
default service
 
+### `select` [^2]
+
+0. `select 1`: used when the invoke command matches multiple methods, select 
the method to be called according to the prompt list
+
 ### `status`
 
 0. `status`: show summarized status. This status summarizes statuses from all 
resources, and it shows OK when all resources are OK, shows ERROR when any 
resource has ERROR, and WARN when any has WARN.
@@ -76,7 +80,6 @@ The built-in telnet commands are listed below. Furthermore, 
it is possible to ex
 ### `help`
 
 0. `help`: show help for telnet commands
-0. `help xxx`: 显示xxx命令的详细帮助信息
 0. `help xxx`: show help for particular telnet command
 
 ### `clear`
@@ -88,4 +91,11 @@ The built-in telnet commands are listed below. Furthermore, 
it is possible to ex
 
 `exit`: exit current telnet session
 
-[^1]: support since `2.0.6`
\ No newline at end of file
+### `shutdown` [^2]
+
+0. `shutdown`: shutdown dubbo application
+0. `shutdown -t 1000`: delay 1000 ms to shutdown dubbo application
+
+[^1]: support since `2.0.6`
+[^2]: support since `2.7.1`
+
diff --git a/docs/zh-cn/user/references/telnet.md 
b/docs/zh-cn/user/references/telnet.md
index 1cc5e8a..a9b56d0 100644
--- a/docs/zh-cn/user/references/telnet.md
+++ b/docs/zh-cn/user/references/telnet.md
@@ -65,6 +65,10 @@ status命令所检查的资源也可以扩展,参见:[扩展参考手册](..
 0. `invoke XxxService.xxxMethod({"prop": "value"})`: 调用服务的方法
 0. `invoke xxxMethod({"prop": "value"})`: 调用服务的方法(自动查找包含此方法的服务)
 
+### `select` [^2]
+
+0. `select 1`: 当 invoke 命令匹配到多个方法时使用,根据提示列表选择需要调用的方法
+
 ### `status`
 
 0. `status`: 显示汇总状态,该状态将汇总所有资源的状态,当全部 OK 时则显示 OK,只要有一个 ERROR 则显示 ERROR,只要有一个 
WARN 则显示 WARN
@@ -89,5 +93,10 @@ status命令所检查的资源也可以扩展,参见:[扩展参考手册](..
 
 `exit`: 退出当前 telnet 命令行
 
-[^1]: `2.0.6` 以上版本支持
+### `shutdown` [^2]
 
+0. `shutdown`: 关闭 dubbo 应用
+0. `shutdown -t 1000`: 延迟 1000 毫秒关闭 dubbo 应用
+
+[^1]: `2.0.6` 以上版本支持
+[^2]: `2.7.1` 以上版本支持

Reply via email to