summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-12-14 16:54:21 -0800
committerGary E. Miller <gem@rellim.com>2018-12-14 16:54:21 -0800
commite8028c5f15864dc7845e1b5dbc36807f72e8c15b (patch)
tree83fc4072c64ddeaf743db6813c710847a177144a /gpspipe.c
parent8820a25f0dca57ebdc13e0f2fc01aabe95c27c72 (diff)
downloadgpsd-e8028c5f15864dc7845e1b5dbc36807f72e8c15b.tar.gz
gpspipe: Small cleanup of getopt() and usage()
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpspipe.c b/gpspipe.c
index 9df4abd7..1e8d822f 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -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;