gpspipe -VERSION (return code: 0)
gpspipe: 3.16 (revision 3.16-4)
gpspipe --help (return code: 1)
gpspipe: invalid option -- '-'
Usage: gpspipe [OPTIONS] [server[:port[:device]]]
-d Run as a daemon.
-o [file] Write output to file.
-h Show this help.
-r Dump raw NMEA.
-R Dump super-raw mode (GPS binary).
-w Dump gpsd native data.
-S Set scaled flag.
-2 Set the split24 flag.
-l Sleep for ten seconds before connecting to gpsd.
-t Time stamp the data.
-T [format] set the timestamp format (strftime(3)-like; implies '-t')
-u usec time stamp, implies -t. Use -uu to output sec.usec
-s [serial dev] emulate a 4800bps NMEA GPS on serial port (use with '-r').
-n [count] exit after count packets.
-v Print a little spinner.
-p Include profiling info in the JSON.
-P Include PPS JSON in NMEA or raw mode.
-V Print version and exit.
You must specify one, or more, of -r, -R, or -w
You must use -o if you use -d.