Hotfix/sangshuduo/td 5479 taosdump s e for master (#6995)
* [TD-5479]<fix>: taosdump -S -E does not work. * taosdemo support timestamp step from command line. * fix help msg. Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
parent
763b4f3b1d
commit
f026716c16
|
@ -742,8 +742,8 @@ static void printHelp() {
|
|||
"The number of threads. Default is 10.");
|
||||
printf("%s%s%s%s\n", indent, "-i", indent,
|
||||
"The sleep time (ms) between insertion. Default is 0.");
|
||||
printf("%s%s%s%s%d\n", indent, "-S", indent,
|
||||
"The timestamp step between insertion. Default is %d.",
|
||||
printf("%s%s%s%s%d.\n", indent, "-S", indent,
|
||||
"The timestamp step between insertion. Default is ",
|
||||
DEFAULT_TIMESTAMP_STEP);
|
||||
printf("%s%s%s%s\n", indent, "-r", indent,
|
||||
"The number of records per request. Default is 30000.");
|
||||
|
|
|
@ -453,6 +453,8 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
|
|||
case 'E':
|
||||
g_args.end_time = atol(arg);
|
||||
break;
|
||||
case 'C':
|
||||
break;
|
||||
case 'B':
|
||||
g_args.data_batch = atoi(arg);
|
||||
if (g_args.data_batch > MAX_RECORDS_PER_REQ) {
|
||||
|
|
Loading…
Reference in New Issue