fix: make taos -c xx -C work

This commit is contained in:
Shengliang Guan 2022-04-27 11:27:27 +08:00
parent e8acef45a4
commit debb35da49
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ int main(int argc, char *argv[]) {
return 0;
}
taos_init();
if (shell.args.is_dump_config) {
shellDumpConfig();
taos_cleanup();