comparison libpurple/purple-send-async @ 25924:584063555949

Remove trailing whitespace
author Mark Doliner <mark@kingant.net>
date Mon, 26 Jan 2009 06:44:00 +0000
parents 942bf314fc8a
children cea56d000b16
comparison
equal deleted inserted replaced
25923:7fc110f70662 25924:584063555949
1 #!/bin/sh 1 #!/bin/sh
2 2
3 METHOD_NAME=$1 3 METHOD_NAME=$1
4 4
5 if test -z "$METHOD_NAME" 5 if test -z "$METHOD_NAME"
6 then 6 then
7 cat <<EOF 7 cat <<EOF
8 This program calls purple API functions using DBus. As opposed to purple-send, 8 This program calls purple API functions using DBus. As opposed to purple-send,
9 it does not print the return value. 9 it does not print the return value.
10 10
11 Usage: 11 Usage:
12 12
13 $0 method-name type1:parameter1 type2:parameter2 ... 13 $0 method-name type1:parameter1 type2:parameter2 ...
14 14
15 This shell script just invokes dbus-send, see man dbus-send for how 15 This shell script just invokes dbus-send, see man dbus-send for how
16 to specify the parameters. 16 to specify the parameters.
17 17
18 Examples: 18 Examples:
19 19
20 $0 PurpleCoreQuit 20 $0 PurpleCoreQuit
21 21
25 fi 25 fi
26 26
27 shift 27 shift
28 dbus-send --dest=im.pidgin.purple.PurpleService --type=method_call /im/pidgin/purple/PurpleObject im.pidgin.purple.PurpleInterface.$METHOD_NAME "$@" 28 dbus-send --dest=im.pidgin.purple.PurpleService --type=method_call /im/pidgin/purple/PurpleObject im.pidgin.purple.PurpleInterface.$METHOD_NAME "$@"
29 29
30 echo 30 echo