summary refs log tree commit diff
path: root/doc/getcwd.html
diff options
context:
space:
mode:
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>