fix: format tweak

This commit is contained in:
Alex Duan 2023-12-30 21:24:58 +08:00
parent 861cb8572a
commit c6549b5ff6
2 changed files with 2 additions and 1 deletions

View File

@ -129,7 +129,7 @@ static struct argp_option shellOptions[] = {
{"timeout", 'T', "SECONDS", 0, SHELL_TIMEOUT},
#endif
{"pktnum", 'N', "PKTNUM", 0, SHELL_PKT_NUM},
{"bimode", 'B', "BIMODE", 0, SHELL_BI_MODE},
{"bimode", 'B', 0, 0, SHELL_BI_MODE},
{0},
};

View File

@ -1293,6 +1293,7 @@ int32_t shellExecute() {
if(shell.args.is_bi_mode) {
// need set bi mode
printf("Set BI mode is true.\n");
#ifdef WEBSOCKET
//ws_taos_set_conn_mode(shell.ws_conn, TAOS_CONN_MODE_BI, 1);
#else