equal
deleted
inserted
replaced
22 .B dtnquery |
22 .B dtnquery |
23 .RB -s |
23 .RB -s |
24 .IR src |
24 .IR src |
25 .RB [ -d |
25 .RB [ -d |
26 .IR dest ] |
26 .IR dest ] |
|
27 .RB [ -r |
|
28 .IR reply-to ] |
27 .RB [ -f |
29 .RB [ -f |
28 .IR filename ] |
30 .IR filename ] |
29 .RB [ -t |
31 .RB [ -t |
30 .IR literal | base64 | file ] |
32 .IR literal | base64 | file ] |
31 .RB [ -q |
33 .RB [ -q |
32 .IR query ] |
34 .IR query ] |
33 .RB [ -r |
35 .RB [ -u |
34 .IR exact ] |
36 .IR exact ] |
35 .RB [ -m |
37 .RB [ -m |
36 .IR send | receive | both ] |
38 .IR send | receive | both ] |
37 .RB [ -n |
39 .RB [ -n |
38 .IR count ] |
40 .IR count ] |
58 If this connection is synchronous (default) |
60 If this connection is synchronous (default) |
59 .B -m both |
61 .B -m both |
60 dtnquery will both send the query and wait to receive the |
62 dtnquery will both send the query and wait to receive the |
61 response. |
63 response. |
62 .PP |
64 .PP |
63 On receiving a response, it will be stored in the directory |
|
64 specified by the |
|
65 .B -r <response_path>. |
|
66 |
65 |
67 .SH RETURN VALUES |
66 .SH RETURN VALUES |
68 Returns 1 if there was an error processing the arguments. |
67 Returns 1 if there was an error processing the arguments. |
69 Otherwise |
68 Otherwise |
70 .B dtnquery |
69 .B dtnquery |
78 (Required) |
77 (Required) |
79 .TP |
78 .TP |
80 .B \-\^d |
79 .B \-\^d |
81 The destination EID for the bundle. |
80 The destination EID for the bundle. |
82 .TP |
81 .TP |
|
82 .B \-\^r |
|
83 The reply-to EID for the bundle. If not set the src EID will be used. |
|
84 .TP |
83 .B \-\^f |
85 .B \-\^f |
84 The file name to save the response as. The default for this is the query |
86 The file name to save the response as. The default for this is the query |
85 value itself. This may be overridden using this flag. |
87 value itself. This may be overridden using this flag. |
86 .TP |
88 .TP |
87 .B \-\^t |
89 .B \-\^t |
92 file path. Values/paths must be enclosed in quotes e.g. -p "some |
94 file path. Values/paths must be enclosed in quotes e.g. -p "some |
93 literal query" or -p "my file.txt". Query files must be comma |
95 literal query" or -p "my file.txt". Query files must be comma |
94 separated containing see |
96 separated containing see |
95 .B dtnmatch. |
97 .B dtnmatch. |
96 .TP |
98 .TP |
97 .B \-\^r |
99 .B \-\^u |
98 The matching rule. Currently only `exact' is supported. |
100 The matching rule. Currently only `exact' is supported. |
99 .TP |
101 .TP |
100 .B \-\^m |
102 .B \-\^m |
101 Mode to run in. Can be asynchronous: `send' or `receive' or synchronous |
103 Mode to run in. Can be asynchronous: `send' or `receive' or synchronous |
102 `both' (default). |
104 `both' (default). |