diff options
author | Fulup.ArFoll <fulup@sinagot.net> | 2013-11-23 13:10:03 +0100 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-23 07:22:54 -0500 |
commit | 32dbc0cf54de39eae8ff4faefa4ed22113711ea9 (patch) | |
tree | 49438be2f968e01a0b5f96da6c248152891464ba /gps2udp.xml | |
parent | 0fbbb18c6d1c81c7e362201c3d5951994b360248 (diff) | |
download | gpsd-32dbc0cf54de39eae8ff4faefa4ed22113711ea9.tar.gz |
Updated documentation and fixes gps2udp command line parsing
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gps2udp.xml')
-rw-r--r-- | gps2udp.xml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gps2udp.xml b/gps2udp.xml index e43ddae5..5df8800e 100644 --- a/gps2udp.xml +++ b/gps2udp.xml @@ -28,7 +28,7 @@ BSD terms apply: see the file COPYING in the distribution root for details. <arg choice='opt'>-a</arg> <arg choice='opt'>-u <replaceable>hostname:udpport</replaceable></arg> <arg choice='opt'>-c <replaceable>count</replaceable></arg> - <arg choice='opt'>-d</arg> + <arg choice='opt'>-d <replaceable>1|2</replaceable></arg> <arg choice='opt'>-v</arg> <group> <replaceable>server</replaceable> @@ -86,7 +86,7 @@ destinations).</para> <para>-n [count] causes [count] sentences to be output. <application>gps2udp</application> will then exit gracefully.</para> -<para>-d prints sent packet on stdout.</para> +<para>-d 1 prints sent packet on stdout.</para> <para>-v prints the version, then exits.</para> </refsect1> @@ -94,13 +94,12 @@ destinations).</para> <para>With a running <application>gpsd accessible on the network</application> </para> -<para><command>gps2udp -d -n -u data.aishub.net:2222 </command> will +<para><command>gps2udp -d 1 -n -u data.aishub.net:2222 </command> will collect data from localhost:gpsd display them on stdout and send a copy to test aishub in NMEA format.</para> -<para><command>gps2udp -a -n -b -u data.aishub.net 2222 -u 5.9.207.224 -5321 -u 109.200.19.151 4001 vz-fulup.vpn:2947</command> will collect -data from a remote gpsd located on vz-fulup.vpn host, will filter AIS +<para><command>gps2udp -a -n -b -u data.aishub.net:2222 -u 5.9.207.224:5321 -u 109.200.19.151:4001 fridu.net:2947</command> will collect +data from a remote gpsd located on fridu.net host, will filter AIS messages and send them to 3 destination (aishub, marinetraffic, shipfinder) in NMEA format, command is running in background mode</para> |