From ac3e0da478100647cf9c63e1a613caa479c2162e Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Thu, 1 Dec 2022 11:05:08 +0800 Subject: [PATCH] feat(mnode): modify keyword status to alive, add shellauto --- src/kit/shell/src/shellAuto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kit/shell/src/shellAuto.c b/src/kit/shell/src/shellAuto.c index 3b4094bbb8..04cfe69ef6 100644 --- a/src/kit/shell/src/shellAuto.c +++ b/src/kit/shell/src/shellAuto.c @@ -111,7 +111,7 @@ SWords shellCommands[] = { {"show create stable \\G;", 0, 0, NULL}, {"show create table \\G;", 0, 0, NULL}, {"show connections;", 0, 0, NULL}, - {"show cluster status;", 0, 0, NULL}, + {"show cluster alive;", 0, 0, NULL}, {"show databases;", 0, 0, NULL}, {"show dnodes;", 0, 0, NULL}, {"show functions;", 0, 0, NULL}, @@ -127,7 +127,7 @@ SWords shellCommands[] = { {"show users;", 0, 0, NULL}, {"show variables;", 0, 0, NULL}, {"show vgroups;", 0, 0, NULL}, - {"show .status;", 0, 0, NULL}, + {"show .alive;", 0, 0, NULL}, {"insert into values(", 0, 0, NULL}, {"insert into using tags( ) values(", 0, 0, NULL}, {"insert into using values(", 0, 0, NULL}, @@ -406,7 +406,7 @@ void showHelp() { select server_version();\n\ select server_status();\n\ set max_binary_display_width ; \n\ - show cluster status;\n\ + show cluster alive;\n\ show create database ;\n\ show create stable ;\n\ show create table ;\n\ @@ -426,7 +426,7 @@ void showHelp() { show users;\n\ show variables;\n\ show vgroups;\n\ - show .status;\n\ + show .alive;\n\ ----- I ----- \n\ insert into values(...) ;\n\ ----- U ----- \n\ -- GitLab