summaryrefslogtreecommitdiff
path: root/gpsdecode.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-06-05 12:16:48 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-06-05 12:16:48 +0000
commit15a5fd5d762a9545d4838bbfa077d7f893cefad0 (patch)
tree767639e968cf529714384e1a44a24b261f1e116b /gpsdecode.xml
parentd0ca67ef07a275509ad6bea4496283815219dcca (diff)
downloadgpsd-15a5fd5d762a9545d4838bbfa077d7f893cefad0.tar.gz
First cut at JSON dumping of AIVDM.
Will need some cleanup, but the basic logic is in place.
Diffstat (limited to 'gpsdecode.xml')
-rw-r--r--gpsdecode.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/gpsdecode.xml b/gpsdecode.xml
index 7e442ed9..e7e95c45 100644
--- a/gpsdecode.xml
+++ b/gpsdecode.xml
@@ -18,7 +18,7 @@
<command>gpsdecode</command>
<arg choice='opt'>-d</arg>
<arg choice='opt'>-e</arg>
- <arg choice='opt'>-l</arg>
+ <arg choice='opt'>-j</arg>
<arg choice='opt'>-u</arg>
<arg choice='opt'>-D <replaceable>debuglevel</replaceable></arg>
<arg choice='opt'>-V</arg>
@@ -92,8 +92,9 @@ RTCM3.</para>
and text expansion of numeric codes. A dump with this option is
lossless.</para>
-<para>The <option>-l</option> inserts a mnemonic label, followed by
-an equal sign, before each field in each dump line.</para>
+<para>The <option>-j</option> changes the dump format to JSON, with
+each each field preceded by a quoted label and equal sign and the
+entire dump line wrapped in curly braces.</para>
<para>The <option>-V</option> option directs the program to emit its
version number, then exit.</para>