summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-06-17 14:26:23 -0700
committerGary E. Miller <gem@rellim.com>2018-06-17 14:26:23 -0700
commit5a9621ac3656511da7e66e47ad9ee9289b0b8cd0 (patch)
treeceba55eee3e4fd45286d6ff032b79ac974e7b0f8 /gpspipe.c
parentabc014e31d2babbec0bac80c8f815807812bef79 (diff)
downloadgpsd-5a9621ac3656511da7e66e47ad9ee9289b0b8cd0.tar.gz
gpspipe: Alphabetize options.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gpspipe.c b/gpspipe.c
index 6a9c2237..5ee83a3f 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -114,25 +114,25 @@ static void usage(void)
{
(void)fprintf(stderr,
"Usage: gpspipe [OPTIONS] [server[:port[:device]]]\n\n"
+ "-2 Set the split24 flag.\n"
"-d Run as a daemon.\n"
- "-o [file] Write output to file.\n"
"-h Show this help.\n"
+ "-l Sleep for ten seconds before connecting to gpsd.\n"
+ "-n [count] exit after count packets.\n"
+ "-o [file] Write output to file.\n"
+ "-P Include PPS JSON in NMEA or raw mode.\n"
+ "-p Include profiling info in the JSON.\n"
"-r Dump raw NMEA.\n"
"-R Dump super-raw mode (GPS binary).\n"
- "-w Dump gpsd native data.\n"
+ "-s [serial dev] emulate a 4800bps NMEA GPS on serial port (use with '-r').\n"
"-S Set scaled flag.\n"
- "-2 Set the split24 flag.\n"
- "-l Sleep for ten seconds before connecting to gpsd.\n"
- "-t Time stamp the data.\n"
"-T [format] set the timestamp format (strftime(3)-like; implies '-t')\n"
+ "-t Time stamp the data.\n"
"-u usec time stamp, implies -t. Use -uu to output sec.usec\n"
- "-s [serial dev] emulate a 4800bps NMEA GPS on serial port (use with '-r').\n"
- "-n [count] exit after count packets.\n"
- "-x [seconds] Exit after given delay.\n"
"-v Print a little spinner.\n"
- "-p Include profiling info in the JSON.\n"
- "-P Include PPS JSON in NMEA or raw mode.\n"
"-V Print version and exit.\n\n"
+ "-w Dump gpsd native data.\n"
+ "-x [seconds] Exit after given delay.\n"
"You must specify one, or more, of -r, -R, or -w\n"
"You must use -o if you use -d.\n");
}