diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-16 20:21:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-16 20:21:38 +0200 |
commit | c294ed2671969fedbd7997f96931f9288016232a (patch) | |
tree | 718e2145b177722e052bd595a19002c360d195b7 /doc/bus-listen.1 | |
parent | doc: protocol (diff) | |
download | bus-c294ed2671969fedbd7997f96931f9288016232a.tar.gz bus-c294ed2671969fedbd7997f96931f9288016232a.tar.bz2 bus-c294ed2671969fedbd7997f96931f9288016232a.tar.xz |
add manpages for the bus command
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/bus-listen.1')
-rw-r--r-- | doc/bus-listen.1 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/bus-listen.1 b/doc/bus-listen.1 new file mode 100644 index 0000000..89ae7d9 --- /dev/null +++ b/doc/bus-listen.1 @@ -0,0 +1,32 @@ +.TH BUS-LISTEN 1 BUS-%VERSION% +.SH NAME +bus listen - Listen for new messages on a bus +.SH SYNOPSIS +.B bus wait +.IR pathname +.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 the \fI$arg\fP +set to the received message. +POSIX shell syntax applies to \fIcommand\fP. +.SH EXIT STATUS +.TP +0 +The command was successful. +.TP +1 +The command failed. +.TP +2 +The command is not recognised. +.SH SEE ALSO +bus(5) +.SH AUTHORS +See the LICENSE file for the authors. +.SH LICENSE +See the LICENSE file for the terms of redistribution. +.SH BUGS +Please report them. + |