From 67c646b10ddb3a8c6eaf88e0e92b4bffeb9f5d85 Mon Sep 17 00:00:00 2001 From: slguan Date: Tue, 24 Sep 2019 12:59:40 +0800 Subject: [PATCH] fix issue #541 --- src/kit/shell/src/shellEngine.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kit/shell/src/shellEngine.c b/src/kit/shell/src/shellEngine.c index 15a0114b2a..a109455a64 100644 --- a/src/kit/shell/src/shellEngine.c +++ b/src/kit/shell/src/shellEngine.c @@ -33,7 +33,11 @@ #include "tutil.h" /**************** Global variables ****************/ -char CLIENT_VERSION[] = "Welcome to the TDengine shell, client version:%s "; +#ifdef WINDOWS + char CLIENT_VERSION[] = "Welcome to the TDengine shell from windows, client version:%s, "; +#else + char CLIENT_VERSION[] = "Welcome to the TDengine shell from linux, client version:%s, "; +#endif char SERVER_VERSION[] = "server version:%s\nCopyright (c) 2017 by TAOS Data, Inc. All rights reserved.\n\n"; char PROMPT_HEADER[] = "taos> "; char CONTINUE_PROMPT[] = " -> "; -- GitLab