dbus/tools dbus-send.1,1.5,1.6 dbus-send.c,1.12,1.13
Havoc Pennington
hp@freedesktop.org
Tue Jan 18 12:42:17 PST 2005
- Previous message: dbus/test/data/equiv-config-files/basic basic-1.conf,1.1,1.2
- Next message: dbus/bus activation.c, 1.37, 1.38 config-parser.c, 1.39,
1.40 dbus-daemon-1.1.in, 1.10, 1.11 dispatch.c, 1.65,
1.66 driver.c, 1.60, 1.61 services.c, 1.28, 1.29 signals.c,
1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/tools
In directory gabe:/tmp/cvs-serv23786/tools
Modified Files:
dbus-send.1 dbus-send.c
Log Message:
2005-01-18 Havoc Pennington <hp@redhat.com>
* Throughout, grand renaming to strip out the use of "service",
just say "name" instead (or "bus name" when ambiguous). Did not
change the internal code of the message bus itself, only the
programmer-facing API and messages.
* doc/dbus-specification.xml: further update the message bus section
* bus/config-parser.c (all_are_equiv): fix bug using freed string
in error case
Index: dbus-send.1
===================================================================
RCS file: /cvs/dbus/dbus/tools/dbus-send.1,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- dbus-send.1 30 Sep 2003 02:33:11 -0000 1.5
+++ dbus-send.1 18 Jan 2005 20:42:15 -0000 1.6
@@ -8,7 +8,7 @@
.SH SYNOPSIS
.PP
.B dbus-send
-[\-\-system | \-\-session] [\-\-dest=SERVICE] [\-\-print-reply]
+[\-\-system | \-\-session] [\-\-dest=NAME] [\-\-print-reply]
[\-\-type=TYPE] <destination object path> <message name> [contents ...]
.SH DESCRIPTION
@@ -27,9 +27,8 @@
.PP
Nearly all uses of \fIdbus-send\fP must provide the \-\-dest argument
-which is the name of a service on the bus to send the message to. If
-\-\-dest is omitted, a default service name of
-"org.freedesktop.Broadcast" is used.
+which is the name of a connection on the bus to send the message to. If
+\-\-dest is omitted, no destination is set.
.PP
The object path and the name of the message to send must always be
@@ -43,7 +42,7 @@
Here is an example invocation:
.nf
- dbus-send \-\-dest='org.freedesktop.ExampleService' \\
+ dbus-send \-\-dest='org.freedesktop.ExampleName \\
/org/freedesktop/sample/object/name \\
org.freedesktop.ExampleInterface.ExampleMethod \\
int32:47 string:'hello world' double:65.32
@@ -57,8 +56,8 @@
.SH OPTIONS
The following options are supported:
.TP
-.I "--dest=SERVICE"
-Specify the service to receive the message.
+.I "--dest=NAME"
+Specify the name of the connection to receive the message.
.TP
.I "--print-reply"
Block for a reply to the message sent, and print any reply received.
Index: dbus-send.c
===================================================================
RCS file: /cvs/dbus/dbus/tools/dbus-send.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dbus-send.c 17 Jan 2005 19:49:52 -0000 1.12
+++ dbus-send.c 18 Jan 2005 20:42:15 -0000 1.13
@@ -30,7 +30,7 @@
static void
usage (char *name, int ecode)
{
- fprintf (stderr, "Usage: %s [--help] [--system | --session] [--dest=SERVICE] [--type=TYPE] [--print-reply] [--reply-timeout=MSEC] <destination object path> <message name> [contents ...]\n", name);
+ fprintf (stderr, "Usage: %s [--help] [--system | --session] [--dest=NAME] [--type=TYPE] [--print-reply] [--reply-timeout=MSEC] <destination object path> <message name> [contents ...]\n", name);
exit (ecode);
}
- Previous message: dbus/test/data/equiv-config-files/basic basic-1.conf,1.1,1.2
- Next message: dbus/bus activation.c, 1.37, 1.38 config-parser.c, 1.39,
1.40 dbus-daemon-1.1.in, 1.10, 1.11 dispatch.c, 1.65,
1.66 driver.c, 1.60, 1.61 services.c, 1.28, 1.29 signals.c,
1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list