comparison rvinterf/etmsync/fsiomain.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 cd1a0d5689f6
children
comparison
equal deleted inserted replaced
422:c1aadfcd185f 423:e40bb5a6c6b9
48 fprintf(stderr, 48 fprintf(stderr,
49 "%s error: -p and -s options are mutually exclusive\n", 49 "%s error: -p and -s options are mutually exclusive\n",
50 argv[0]); 50 argv[0]);
51 exit(ERROR_USAGE); 51 exit(ERROR_USAGE);
52 } 52 }
53 launch_rvinterf(); 53 launch_rvinterf(argv[optind] || !isatty(0));
54 } else { 54 } else {
55 if (rvinterf_Bopt || rvinterf_lopt || rvinterf_wopt) { 55 if (rvinterf_Bopt || rvinterf_lopt || rvinterf_wopt) {
56 fprintf(stderr, 56 fprintf(stderr,
57 "%s error: -B, -l and -w options are meaningful only when launching rvinterf\n", 57 "%s error: -B, -l and -w options are meaningful only when launching rvinterf\n",
58 argv[0]); 58 argv[0]);