summaryrefslogtreecommitdiff
path: root/gpsfake.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-07-29 17:28:46 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-07-29 17:28:46 +0000
commit2337f752c77447f35df0b063764e1ab4c68ad219 (patch)
treecdefa5192048523e5f59a4a5351d6f1d4f6b4002 /gpsfake.xml
parenta6a6c938d3ebcdafaddb92096b38ca3fea20b8f5 (diff)
downloadgpsd-2337f752c77447f35df0b063764e1ab4c68ad219.tar.gz
Handle some line-termination issues more cleanly.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r--gpsfake.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/gpsfake.xml b/gpsfake.xml
index ea215e02..20a1038c 100644
--- a/gpsfake.xml
+++ b/gpsfake.xml
@@ -30,7 +30,9 @@
<arg choice='opt'>-r <replaceable>initcmd</replaceable></arg>
<arg choice='opt'>-s <replaceable>speed</replaceable></arg>
<arg choice='opt'>-v</arg>
- <arg choice='plain'><replaceable>logfile</replaceable></arg>
+ <arg rep='repeat'>
+ <arg choice='plain'><replaceable>logfile</replaceable></arg>
+ </arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -40,14 +42,15 @@
<application>gpsd</application> and its clients. It opens a pty
(pseudo-TTY), launches a <application>gpsd</application> instance that
thinks the slave side of the pty is its GPS device, and repeatedly
-feeds the contents of a test logfile through the master side to the
-GPS.</para>
+feeds the contents of one or more test logfiles through the master side to the
+GPS. If there are multiple logfiles, sentences from them are
+interleaved in the order the fuiles are specified.</para>
<para><application>gpsfake</application> does not require root
privileges, and can be run concurrently with a production
<application>gpsd</application> instance without causing problems.</para>
-<para>The logfile may be of NMEA, SiRF packets, TSIP packets, or
+<para>The logfiles may be of NMEA, SiRF packets, TSIP packets, or
Zodiac packets. Leading lines beginning with # will be treated as
comments and ignored.</para>