--- a/apps/dtnquery/dtnquery.1 Mon Jun 27 15:24:46 2011 +0100
+++ b/apps/dtnquery/dtnquery.1 Mon Jun 27 15:44:08 2011 +0100
@@ -17,7 +17,7 @@
.TH dtnquery 1 "November 16, 2010"
.LO 1
.SH NAME
-dtnquery \- send DTN queries
+dtnquery \- send and receive DTN queries
.SH SYNOPSIS
.B dtnquery
.RB -s
@@ -34,6 +34,8 @@
.IR exact ]
.RB [ -m
.IR send | receive | both ]
+.RB [ -n
+.IR count ]
.RB [ -E
.IR seconds ]
.RB [ -e
@@ -79,7 +81,8 @@
The destination EID for the bundle.
.TP
.B \-\^f
-The file name to save the response as.d)
+The file name to save the response as. The default for this is the query
+value itself. This may be overridden using this flag.
.TP
.B \-\^t
Type of query. Can be `literal' (default), `base64' or `file'.
@@ -98,6 +101,11 @@
Mode to run in. Can be asynchronous: `send' or `receive' or synchronous
`both' (default).
.TP
+.B \-\^n
+When receiving bundles, this specifies the number of bundles to receive
+before exiting. The default value is 1, and a value of 0 will cause the
+dtnquery to loop forever receiving bundles.
+.TP
.B \-\^E
The number of seconds to wait for a query response. Default 0: listen
forever