Commit 75dd22ce authored by Peter Meerwald's avatar Peter Meerwald

man: Document .ifexists CLI meta command

v2 (thanks Tanu)
* describe purpose and file search
Signed-off-by: Peter Meerwald's avatarPeter Meerwald <>
Cc: Tanu Kaskinen <>
parent 1edb696c
......@@ -320,6 +320,19 @@ License along with PulseAudio; if not, see <>.
cancel the execution of the current script file. This is ignored when
used on the interactive command line.</p></optdesc>
<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>
<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
<section name="Authors">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment