summaryrefslogtreecommitdiff
path: root/doc/envfile.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-05-26 15:30:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-05-26 15:30:18 +0000
commita84e3fd640243d6b06a34019c6d0966cd72caad7 (patch)
tree0a2ebd684e1323c409c1efe709e18db1c39bf4fa /doc/envfile.html
parent4f7270df65d7c79222ab29b8628f251eee16053b (diff)
downloadexecline-a84e3fd640243d6b06a34019c6d0966cd72caad7.tar.xz
Add -I/-i options to envfile
Diffstat (limited to 'doc/envfile.html')
-rw-r--r--doc/envfile.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/envfile.html b/doc/envfile.html
index 713b6ae..62b9669 100644
--- a/doc/envfile.html
+++ b/doc/envfile.html
@@ -26,7 +26,7 @@ adds the variables to the environment, then executes a program.
<h2> Interface </h2>
<pre>
- envfile <em>file</em> <em>prog...</em>
+ envfile [ -i | -I ] <em>file</em> <em>prog...</em>
</pre>
<p>
@@ -51,6 +51,15 @@ with the modified environment.
it execs into <em>prog</em>.
</p>
+<h2> Options </h2>
+
+<ul>
+ <li> <tt>-i</tt>&nbsp;: strict. If <em>file</em> does not exist, exit 111 with an
+error message. This is the default. </li>
+ <li> <tt>-I</tt>&nbsp;: loose. If <em>file</em> does not exist, exec into
+<em>prog</em> without modifying the environment. </li>
+</ul>
+
<h2> File syntax </h2>
<p>