fix: taos-CLI remove (WebSocket) showing

This commit is contained in:
Alex Duan 2023-11-08 11:37:22 +08:00
parent 666b8c531b
commit 4453054006
1 changed files with 0 additions and 4 deletions

View File

@ -409,11 +409,7 @@ static int32_t shellCheckArgs() {
int32_t shellParseArgs(int32_t argc, char *argv[]) {
shellInitArgs(argc, argv);
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"
#endif
"Copyright (c) 2023 by %s, all rights reserved.\r\n\r\n";
#ifdef CUS_NAME
strcpy(shell.info.cusName, CUS_NAME);