[daemon-fix] fixed querying about name information
[platform/upstream/dbus.git] / doc / dbus-send.1.xml.in
index b63d09c..67b6dfd 100644 (file)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<!-- lifted from troff+man by doclifter -->
 <refentry id='dbussend1'>
 
 <!--  dbus&bsol;-send manual page.
@@ -21,8 +20,8 @@
 <!-- body begins here -->
 <refsynopsisdiv id='synopsis'>
 <cmdsynopsis>
-  <command>dbus-send</command>    
-    <group choice='opt'><arg choice='plain'>--system </arg><arg choice='plain'>--session </arg></group>
+  <command>dbus-send</command>
+    <group choice='opt'><arg choice='plain'>--system </arg><arg choice='plain'>--session </arg><arg choice='plain'>--address=<replaceable>ADDRESS</replaceable></arg></group>
     <arg choice='opt'>--dest=<replaceable>NAME</replaceable></arg>
     <arg choice='opt'><arg choice='plain'>--print-reply </arg><arg choice='opt'><replaceable>=literal</replaceable></arg></arg>
     <arg choice='opt'>--reply-timeout=<replaceable>MSEC</replaceable></arg>
 
 <refsect1 id='description'><title>DESCRIPTION</title>
 <para>The <command>dbus-send</command> command is used to send a message to a D-Bus message
-bus. See <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink> for more 
+bus. See <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink> for more
 information about the big picture.</para>
 
 
-<para>There are two well-known message buses: the systemwide message bus 
-(installed on many systems as the "messagebus" service) and the 
+<para>There are two well-known message buses: the systemwide message bus
+(installed on many systems as the "messagebus" service) and the
 per-user-login-session message bus (started each time a user logs in).
 The <option>--system</option> and <option>--session</option> options direct
 <command>dbus-send</command> to send messages to the system or session buses respectively.
@@ -56,14 +55,14 @@ which is the name of a connection on the bus to send the message to. If
 
 <para>The object path and the name of the message to send must always be
 specified. Following arguments, if any, are the message contents
-(message arguments).  These are given as type-specified values and 
+(message arguments).  These are given as type-specified values and
 may include containers (arrays, dicts, and variants) as described below.</para>
 
 <literallayout remap='.nf'>
 &lt;contents&gt;   ::= &lt;item&gt; | &lt;container&gt; [ &lt;item&gt; | &lt;container&gt;...]
 &lt;item&gt;       ::= &lt;type&gt;:&lt;value&gt;
 &lt;container&gt;  ::= &lt;array&gt; | &lt;dict&gt; | &lt;variant&gt;
-&lt;array&gt;      ::= array:&lt;type&gt;:&lt;value&gt;[,&lt;value&gt;...] 
+&lt;array&gt;      ::= array:&lt;type&gt;:&lt;value&gt;[,&lt;value&gt;...]
 &lt;dict&gt;       ::= dict:&lt;type&gt;:&lt;type&gt;:&lt;key&gt;,&lt;value&gt;[,&lt;key&gt;,&lt;value&gt;...]
 &lt;variant&gt;    ::= variant:&lt;type&gt;:&lt;value&gt;
 &lt;type&gt;       ::= string | int16 | uint 16 | int32 | uint32 | int64 | uint64 | double | byte | boolean | objpath
@@ -84,11 +83,11 @@ or nested containers (e.g. arrays of variants).</para>
             array:string:"1st item","next item","last item"  &bsol;
             dict:string:int32:"one",1,"two",2,"three",3      &bsol;
             variant:int32:-8                                 &bsol;
-            objpath:/org/freedesktop/sample/object/name 
+            objpath:/org/freedesktop/sample/object/name
 
 </literallayout> <!-- .fi -->
 
-<para>Note that the interface is separated from a method or signal 
+<para>Note that the interface is separated from a method or signal
 name by a dot, though in the actual protocol the interface
 and the interface member are separate fields.</para>
 
@@ -107,7 +106,7 @@ and the interface member are separate fields.</para>
   <term><option>--print-reply</option></term>
   <listitem>
 <para>Block for a reply to the message sent, and print any reply received
-in a human-readable form.</para>
+in a human-readable form. It also means the message type (<option>--type=</option>) is <emphasis remap='B'>method_call</emphasis>.</para>
   </listitem>
   </varlistentry>
   <varlistentry>
@@ -138,6 +137,12 @@ The default is implementation&hyphen;defined, typically 25 seconds.</para>
   </listitem>
   </varlistentry>
   <varlistentry>
+  <term><option>--address=</option><replaceable>ADDRESS</replaceable></term>
+  <listitem>
+<para>Send to <replaceable>ADDRESS</replaceable>.</para>
+  </listitem>
+  </varlistentry>
+  <varlistentry>
   <term><option>--type=</option><replaceable>TYPE</replaceable></term>
   <listitem>
 <para>Specify <emphasis remap='B'>method_call</emphasis> or <emphasis remap='B'>signal</emphasis> (defaults to "<emphasis remap='B'>signal</emphasis>").</para>
@@ -157,4 +162,3 @@ The default is implementation&hyphen;defined, typically 25 seconds.</para>
 see <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink></para>
 </refsect1>
 </refentry>
-