Skip to content

Commit

Permalink
fix: dot-replace change option from R to Q
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Aug 23, 2023
1 parent b227fa2 commit 0cdfcf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taosdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ static struct argp_option options[] = {
"websocket to interact."},
#endif
{"debug", 'g', 0, 0, "Print debug info.", 15},
{"dot-replace", 'R', 0, 0, "Repalce dot character with underline character in the table name.", 10},
{"dot-replace", 'Q', 0, 0, "Repalce dot character with underline character in the table name.", 10},
{0}
};

Expand Down Expand Up @@ -1065,7 +1065,7 @@ static void parse_args(
g_args.loose_mode = true;
strcpy(argv[i], "");
// dot replace
} else if ((strcmp(argv[i], "-R") == 0)
} else if ((strcmp(argv[i], "-Q") == 0)
|| (0 == strcmp(argv[i], "--dot-replace"))) {
g_args.dotReplace = true;
strcpy(argv[i], "");
Expand Down

0 comments on commit 0cdfcf3

Please sign in to comment.