comparison rvinterf/etmsync/tmsmain.c @ 423:e40bb5a6c6b9

rvinterf clients: implemented 30 ms delay for batch ops with -p
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 28 Oct 2018 00:30:16 +0000
parents 20ed7a320b12
children
comparison
equal deleted inserted replaced
422:c1aadfcd185f 423:e40bb5a6c6b9
46 fprintf(stderr, 46 fprintf(stderr,
47 "%s error: -p and -s options are mutually exclusive\n", 47 "%s error: -p and -s options are mutually exclusive\n",
48 argv[0]); 48 argv[0]);
49 exit(ERROR_USAGE); 49 exit(ERROR_USAGE);
50 } 50 }
51 launch_rvinterf(); 51 launch_rvinterf(argv[optind] || !isatty(0));
52 } else { 52 } else {
53 if (rvinterf_Bopt || rvinterf_lopt || rvinterf_wopt) { 53 if (rvinterf_Bopt || rvinterf_lopt || rvinterf_wopt) {
54 fprintf(stderr, 54 fprintf(stderr,
55 "%s error: -B, -l and -w options are meaningful only when launching rvinterf\n", 55 "%s error: -B, -l and -w options are meaningful only when launching rvinterf\n",
56 argv[0]); 56 argv[0]);