fix: taos-CLI remove (WebSocket) showing
This commit is contained in:
parent
666b8c531b
commit
4453054006
|
@ -409,11 +409,7 @@ static int32_t shellCheckArgs() {
|
||||||
int32_t shellParseArgs(int32_t argc, char *argv[]) {
|
int32_t shellParseArgs(int32_t argc, char *argv[]) {
|
||||||
shellInitArgs(argc, argv);
|
shellInitArgs(argc, argv);
|
||||||
shell.info.clientVersion =
|
shell.info.clientVersion =
|
||||||
#ifdef WEBSOCKET
|
|
||||||
"Welcome to the %s Command Line Interface (WebSocket), Client Version:%s\r\n"
|
|
||||||
#else
|
|
||||||
"Welcome to the %s Command Line Interface, Client Version:%s\r\n"
|
"Welcome to the %s Command Line Interface, Client Version:%s\r\n"
|
||||||
#endif
|
|
||||||
"Copyright (c) 2023 by %s, all rights reserved.\r\n\r\n";
|
"Copyright (c) 2023 by %s, all rights reserved.\r\n\r\n";
|
||||||
#ifdef CUS_NAME
|
#ifdef CUS_NAME
|
||||||
strcpy(shell.info.cusName, CUS_NAME);
|
strcpy(shell.info.cusName, CUS_NAME);
|
||||||
|
|
Loading…
Reference in New Issue