static void usage( char* argv0 ) {
fprintf( stderr, "usage: %s [-d fifo-dir] [-e] [-m msg-type] [-s]\n", argv0 );
fprintf( stderr, " -d dir (default is /tmp/mcl/fifos)\n" );
- fprintf( stderr, " -e extended headers expected in FIFO data\n" );
+ fprintf( stderr, " -e disable extended headers expectation in FIFO data\n" );
fprintf( stderr, " -m msg-type (default is 0)\n" );
fprintf( stderr, " -s stats only mode\n" );
}
int mtype = 0;
char buf[4096];
int flush_often = 0;
- int long_hdrs = 0; // if -e is on command line, we expect long headers
+ int long_hdrs = 1; // -e is on command line turns this off, by default we expect long headers
int stats_only = 0;
char timestamp[MCL_TSTAMP_SIZE]; // we'll get the timestamp from this
long count = 0;
break;
case 'e':
- long_hdrs = 1;
+ long_hdrs = 0;
break;
case 'f':