summaryrefslogtreecommitdiff
path: root/gpspipe.xml
diff options
context:
space:
mode:
authorBeat Bolli <bbolli@ewanet.ch>2010-05-10 12:14:29 +0200
committerEric S. Raymond <esr@thyrsus.com>2010-05-10 18:19:42 -0400
commitf954e6ea6100dc940ed0847508a9c4c9c862840c (patch)
treebd7a0173949d3c3f4a1a19a66e613b9f1c475239 /gpspipe.xml
parentf1359d0525fc17748e462592a972e371d9dbc7f0 (diff)
downloadgpsd-f954e6ea6100dc940ed0847508a9c4c9c862840c.tar.gz
Allow to set the gpspipe timestamp format
This patch is backwards-compatible by adding a new option -T (note capital case) for the timestamp format. All tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gpspipe.xml')
-rw-r--r--gpspipe.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/gpspipe.xml b/gpspipe.xml
index 665011a0..dd935d91 100644
--- a/gpspipe.xml
+++ b/gpspipe.xml
@@ -31,6 +31,7 @@ BSD terms apply: see the file COPYING in the distribution root for details.
<arg choice='opt'>-R</arg>
<arg choice='opt'>-s <replaceable>serial-device</replaceable></arg>
<arg choice='opt'>-t</arg>
+ <arg choice='opt'>-T <replaceable>timestamp-format</replaceable></arg>
<arg choice='opt'>-w</arg>
<arg choice='opt'>-v</arg>
<arg choice='opt'>-D <replaceable>debug-level</replaceable></arg>
@@ -100,6 +101,10 @@ output.</para>
<para>-t adds a timestamp to each sentence output.</para>
+<para>-T sets the format of the timestamp. See
+<citerefentry><refentrytitle>strftime</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+for the available placeholders. Setting this option implies -t.</para>
+
<para>-n [count] causes [count] sentences to be output.
<application>gpspipe</application> will then exit gracefully.</para>
@@ -111,7 +116,7 @@ of messages required to rotate the spinner.</para>
<para>-V prints the version, then exits.</para>
-<para>At least one of -R -r or -w must be specified.</para>
+<para>At least one of -R, -r or -w must be specified.</para>
</refsect1>
<refsect1 id='exampletitle'><title>EXAMPLE</title>