fix: taos print version

This commit is contained in:
kailixu 2023-07-27 14:19:49 +08:00
parent d9fe1a3107
commit 9e5684479e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ int32_t shellCheckIntSize() {
return 0;
}
void shellPrintVersion() { printf("version: %s\r\n", version); }
void shellPrintVersion() { printf("%s\r\n", shell.info.programVersion); }
void shellGenerateAuth() {
char secretEncrypt[TSDB_PASSWORD_LEN + 1] = {0};