@@ -575,7 +575,7 @@ if(fh_nmea != NULL)
575
575
if (fh_csv != NULL )
576
576
{
577
577
strftime (timestring , TIMESTRING_LEN , "%H:%M:%S" , localtime (& tspecakt .tv_sec ));
578
- fprintf (fh_csv , "%s\t%02X%02X%02X%02X%02X%02X \n" , timestring , macfrx -> addr3 [0 ], macfrx -> addr3 [1 ], macfrx -> addr3 [2 ], macfrx -> addr3 [3 ], macfrx -> addr3 [4 ], macfrx -> addr3 [5 ]);
578
+ fprintf (fh_csv , "%02x%02x%02x%02x%02x%02x\t%s \n" , macfrx -> addr3 [0 ], macfrx -> addr3 [1 ], macfrx -> addr3 [2 ], macfrx -> addr3 [3 ], macfrx -> addr3 [4 ], macfrx -> addr3 [5 ], timestring );
579
579
}
580
580
return ;
581
581
}
@@ -698,12 +698,14 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n"
698
698
"%s <options>\n"
699
699
"\n"
700
700
"options:\n"
701
- "-o <file> : output nmea 0183 track\n"
701
+ "-n <file> : output nmea 0183 track\n"
702
702
" track append to file: filename\n"
703
703
" use gpsbabel to convert to other formats:\n"
704
704
" gpsbabel -w -t -i nmea -f in_file.nmea -o gpx -F out_file.gpx\n"
705
705
" gpsbabel -w -t -i nmea -f in_file.nmea -o kml -F out_file.kml\n"
706
+ " time = UTC (in accordance with the NMEA 0183 standard)\n"
706
707
"-c <file> : output separated by tabulator\n"
708
+ " time = local system time\n"
707
709
"-d <device> : GPS source\n"
708
710
" use gpsd: gpsd\n"
709
711
" use device: /dev/ttyACM0, /dev/tty/USBx, ...\n"
@@ -741,7 +743,7 @@ static char *nmeaoutname;
741
743
static char * csvoutname ;
742
744
static char * bpfname ;
743
745
744
- static const char * short_options = "o :c:d:b:i:hv" ;
746
+ static const char * short_options = "n :c:d:b:i:hv" ;
745
747
static const struct option long_options [] =
746
748
{
747
749
{"bpf" , required_argument , NULL , HCX_BPF },
0 commit comments