summaryrefslogtreecommitdiff
path: root/doc/importas.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-31 12:30:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-31 12:30:13 +0000
commit151f30888748cc37b82c1c21c4428c53279bf8eb (patch)
tree74609951ea0c8a3062a4093323089b64947591b7 /doc/importas.html
parentea96addef47063dc6858c63f00e8e9731a31a990 (diff)
downloadexecline-151f30888748cc37b82c1c21c4428c53279bf8eb.tar.xz
Add option -u to import and importas
Diffstat (limited to 'doc/importas.html')
-rw-r--r--doc/importas.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/importas.html b/doc/importas.html
index a9c6f15..81dca83 100644
--- a/doc/importas.html
+++ b/doc/importas.html
@@ -25,7 +25,7 @@ environment variable, then executes another program.
<h2> Interface </h2>
<pre>
- importas [ -i | -D default ] [ -s ] [ -C | -c ] [ -n ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> <em>prog...</em>
+ importas [ -i | -D default ] [ -u ] [ -s ] [ -C | -c ] [ -n ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> <em>prog...</em>
</pre>
<ul>
@@ -49,6 +49,10 @@ use <tt>-D&nbsp;""</tt>. </li>
<li> <tt>-i</tt>&nbsp;: Insist. If <em>envvar</em> is undefined,
<tt>importas</tt> will not do anything; instead, it will exit 100 with an
error message. This has precedence over any <tt>-D</tt> option. </li>
+ <li> <tt>-u</tt>&nbsp;: Unexport. <em>envvar</em> will be removed from
+the environment after the substitution. <tt>importas -u <em>variable</em>
+<em>envvar</em></tt> is equivalent to <tt>importas <em>variable</em>
+<em>envvar</em> unexport <em>envvar</em></tt>. </li>
<li> Other options are used to <a href="el_transform.html">control
the substitution mechanism</a>. </li>
</ul>