summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2015-05-04 23:48:20 +0200
committerPeter Meerwald <pmeerw@pmeerw.net>2015-05-06 11:32:38 +0200
commit75dd22ce2e97d9c5f30d267b916626db53f06b25 (patch)
tree8dfe62370801d0ca12d2075752f1482a0956d759 /man
parent1edb696c461269df96e2c428552fc8dadedeeb6b (diff)
man: Document .ifexists CLI meta command
v2 (thanks Tanu) * describe purpose and file search Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/pulse-cli-syntax.5.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/pulse-cli-syntax.5.xml.in b/man/pulse-cli-syntax.5.xml.in
index 071b0cf1e..0a0fabaf0 100644
--- a/man/pulse-cli-syntax.5.xml.in
+++ b/man/pulse-cli-syntax.5.xml.in
@@ -320,6 +320,19 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
cancel the execution of the current script file. This is ignored when
used on the interactive command line.</p></optdesc>
</option>
+ <option>
+ <p><opt>.ifexists</opt> <arg>filename</arg></p>
+ <optdesc><p>Execute the subsequent block of commands only if the specified
+ file exists. Typically <arg>filename</arg> indicates a module. Relative
+ paths are resolved using the module directory as the base. By using an
+ absolute path, the existance of other files can be checked as well.</p></optdesc>
+ </option>
+ <option>
+ <p><opt>.else</opt> and <opt>.endif</opt></p>
+ <optdesc><p>A block of commands is delimited by an <opt>.else</opt> or
+ <opt>.endif</opt> meta command. Nesting conditional commands is not
+ supported.</p></optdesc>
+ </option>
</section>
<section name="Authors">