summaryrefslogtreecommitdiff
path: root/doc/getcwd.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-12-30 23:06:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-12-30 23:06:31 +0000
commitf021f61f10c566fcae2f77b1a4b095869076062b (patch)
treece84d18f30a4ebf5f6dc3b7ea1b009ba1a06ffcf /doc/getcwd.html
parentb6b71f9942fb5f209e183c2ca997f33071c38c71 (diff)
downloadexecline-f021f61f10c566fcae2f77b1a4b095869076062b.tar.xz
Add -E option for variable autoimport
Diffstat (limited to 'doc/getcwd.html')
-rw-r--r--doc/getcwd.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/getcwd.html b/doc/getcwd.html
index 9735630..d3e7e27 100644
--- a/doc/getcwd.html
+++ b/doc/getcwd.html
@@ -27,7 +27,7 @@ then executes a program.
<h2> Interface </h2>
<pre>
- getcwd <em>var</em> <em>prog...</em>
+ getcwd [ -E | -e ] <em>var</em> <em>prog...</em>
</pre>
<p>
@@ -37,6 +37,16 @@ into the <em>var</em> variable, then
execs into <em>prog</em> with its arguments.
</p>
+<h2> Options </h2>
+
+<ul>
+ <li> <tt>-e</tt>&nbsp;: no autoimport. This is the default. </li>
+ <li> <tt>-E</tt>&nbsp;: autoimport. Instead of exec'ing into
+<em>prog...</em>, exec into <tt>importas -ui <em>var</em> <em>var</em>
+<em>prog...</em></tt>. This substitutes <em>var</em> into the command
+line instead of putting it into the environment. </li>
+</ul>
+
<h2> Notes </h2>
<ul>