summaryrefslogtreecommitdiff
path: root/gpsfake.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-13 06:21:17 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-13 06:21:17 -0500
commit9913ead44a352a92c70b240014818165d0f38173 (patch)
tree49d05ce9dfd414f84c3cdc6c282c4944f082c086 /gpsfake.xml
parent2ad085cf59eeb49e833cc0512a5fad80b06d3f19 (diff)
downloadgpsd-9913ead44a352a92c70b240014818165d0f38173.tar.gz
Add a gpsfake option to set the listening port.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r--gpsfake.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpsfake.xml b/gpsfake.xml
index 17b6dd0a..4e0e9888 100644
--- a/gpsfake.xml
+++ b/gpsfake.xml
@@ -33,6 +33,7 @@ BSD terms apply: see the file COPYING in the distribution root for details.
<arg choice='opt'>-n</arg>
<arg choice='opt'>-o <replaceable>options</replaceable></arg>
<arg choice='opt'>-p</arg>
+ <arg choice='opt'>-P <replaceable>port</replaceable></arg>
<arg choice='opt'>-r <replaceable>initcmd</replaceable></arg>
<arg choice='opt'>-s <replaceable>speed</replaceable></arg>
<arg choice='opt'>-u</arg>
@@ -110,6 +111,8 @@ option to the daemon: thus -D 4 is shorthand for -o "-D 4".</para>
notifications generated by the log to standard output. This is useful
for regression-testing.</para>
+<para>The -P ("port") option sets the daemon's listening port.</para>
+
<para>The -r option specifies an initialization command to use in pipe mode.
The default is <command>?WATCH={"enable":true,"json":true}</command>.</para>