aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-16 17:12:29 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-16 17:12:29 +0200
commitb21a3493f04f01d900f4b4a49b11d52f0944a6d2 (patch)
tree9a41fcf4967c6514656d83511b8775e71dac197b /doc
parentadd missing pathname argument to bus-broadcast.1 (diff)
downloadbus-b21a3493f04f01d900f4b4a49b11d52f0944a6d2.tar.gz
bus-b21a3493f04f01d900f4b4a49b11d52f0944a6d2.tar.bz2
bus-b21a3493f04f01d900f4b4a49b11d52f0944a6d2.tar.xz
use $msg instead of $arg3.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/bus-listen.12
-rw-r--r--doc/bus-wait.12
-rwxr-xr-xdoc/examples/audio-volume-control/monitor2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/bus-listen.1 b/doc/bus-listen.1
index 84d0316..0d5b9ba 100644
--- a/doc/bus-listen.1
+++ b/doc/bus-listen.1
@@ -7,7 +7,7 @@ bus listen - Listen for new messages on a bus
.IR command
.SH DESCRIPTION
Listen for new messages on the bus associated with \fIpathname\fP. Once
-a message is received, \fIcommand\fP will be spawned with \fI$arg\fP set
+a message is received, \fIcommand\fP will be spawned with \fI$msg\fP set
to the received message. POSIX shell syntax applies to \fIcommand\fP.
.SH EXIT STATUS
.TP
diff --git a/doc/bus-wait.1 b/doc/bus-wait.1
index 65a9634..5fec137 100644
--- a/doc/bus-wait.1
+++ b/doc/bus-wait.1
@@ -8,7 +8,7 @@ bus wait - Listen for a new message on a bus
.SH DESCRIPTION
Listen for a new message on the bus associated with \fIpathname\fP, stop
listening once a message has been received. Once a message is received,
-\fIcommand\fP will be spawned with \fI$arg\fP set to the received
+\fIcommand\fP will be spawned with \fI$msg\fP set to the received
message. POSIX shell syntax applies to \fIcommand\fP.
.SH EXIT STATUS
.TP
diff --git a/doc/examples/audio-volume-control/monitor b/doc/examples/audio-volume-control/monitor
index 82fe7bc..4956f7b 100755
--- a/doc/examples/audio-volume-control/monitor
+++ b/doc/examples/audio-volume-control/monitor
@@ -11,5 +11,5 @@ exec 2>/dev/null
printf '\e[?1049h\e[H\e[2J'
trap -- "printf '\e[?1049l'" SIGINT
-bus listen "/tmp/example-bus" \'"${0/\'/\'\\\'\'}"\'' "${arg}"'
+bus listen "/tmp/example-bus" \'"${0/\'/\'\\\'\'}"\'' "${msg}"'