From 8820a25f0dca57ebdc13e0f2fc01aabe95c27c72 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 14 Dec 2018 16:49:45 -0800 Subject: gpspipe: update man page to match current program. --- man/gpspipe.xml | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'man') diff --git a/man/gpspipe.xml b/man/gpspipe.xml index 9c5da4f3..e522bba6 100644 --- a/man/gpspipe.xml +++ b/man/gpspipe.xml @@ -8,7 +8,7 @@ SPDX-License-Identifier: BSD-2-clause "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> - 17 Jun 2018 + 14 Dec 2018 gpspipe @@ -24,28 +24,27 @@ SPDX-License-Identifier: BSD-2-clause gpspipe -2 + -? -d - -D debug-level - + -D debug-level -h -l - -n count - - -o filename - + -n count + -o filename -p + -P -r -R -S - -s serial-device - + -s serial-device -t - -T timestamp-format - + -T timestamp-format -u -v + -V -w - -x + -x seconds + -Z server @@ -84,7 +83,10 @@ requires the -o flag for writing the output to a file. OPTIONS -2 sets the split24 flag on AIS reports. Note: this option is experimental and may be changed or removed in a future release. + -? makes gpspipe print +a usage message and exit. -d causes gpspipe to run as a daemon. + -D [debug-level] set debug level.. -h makes gpspipe print a usage message and exit. -l causes gpspipe to sleep for ten @@ -93,7 +95,7 @@ when running as a daemon, giving gpsd time to start before attempting a connection. -n [count] causes [count] sentences to be output. gpspipe will then exit gracefully. - -o option causes the collected data to be written to the + -o [filename] option causes the collected data to be written to the specified file. Use of this option is mandatory if gpspipe is run as a daemon. -p enables dumping of profiling information in JSON. @@ -106,8 +108,9 @@ specified serial device with settings 4800 8N1. Thus gpspipe can be used with -s and -r options to emulate a serial port hardwired to a GPS that gpsd is managing. - -S sets the scaled flag. - -t adds a timestamp to each sentence output. + -S sets the scaled flag. This is for AIS and subframe data, but +currently appears to do nothing. + -t adds a UTC timestamp to each sentence output. -T sets the format of the timestamp. See strftime @@ -115,7 +118,8 @@ to emulate a serial port hardwired to a GPS that for the available placeholders. Setting this option implies -t. Default setting is "%F %T" - -u usec resolution time stamp, implies -t. Use -uu to output sec.usec. + -u usec resolution time stamp, implies -t. Use -uu to output + sec.usec. -v causes gpspipe to show a spinning activity indicator on stderr. This is useful if stdout is redirected into a file or a pipe. By default the spinner is advanced with every @@ -125,7 +129,9 @@ of messages required to rotate the spinner. -w causes native gpsd sentences to be output. -x [seconds] Exit after delay of [seconds]. + -Z sets the timestamp format iso8601: implies '-t' At least one of -R, -r or -w must be specified. + You must use -o if you use -d. EXAMPLES -- cgit v1.2.1