diff options
author | Gary E. Miller <gem@rellim.com> | 2018-12-14 16:54:21 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-12-14 16:54:21 -0800 |
commit | e8028c5f15864dc7845e1b5dbc36807f72e8c15b (patch) | |
tree | 83fc4072c64ddeaf743db6813c710847a177144a /gpspipe.c | |
parent | 8820a25f0dca57ebdc13e0f2fc01aabe95c27c72 (diff) | |
download | gpsd-e8028c5f15864dc7845e1b5dbc36807f72e8c15b.tar.gz |
gpspipe: Small cleanup of getopt() and usage()
Diffstat (limited to 'gpspipe.c')
-rw-r--r-- | gpspipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,7 +125,7 @@ static void usage(void) "-r Dump raw NMEA.\n" "-R Dump super-raw mode (GPS binary).\n" "-s [serial dev] emulate a 4800bps NMEA GPS on serial port (use with '-r').\n" - "-S Set scaled flag.\n" + "-S Set scaled flag. For AIS and subframe 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" @@ -168,7 +168,7 @@ int main(int argc, char **argv) flags = WATCH_ENABLE; while ((option = getopt(argc, argv, - "?dD:lhrRwStT:vVx:n:s:o:pPu2Z")) != -1) { + "2?dD:hln:o:pPrRwSs:tT:uvVx:Z")) != -1) { switch (option) { case '2': flags |= WATCH_SPLIT24; |