summaryrefslogtreecommitdiff
path: root/doc/getpid.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/getpid.html
parentb6b71f9942fb5f209e183c2ca997f33071c38c71 (diff)
downloadexecline-f021f61f10c566fcae2f77b1a4b095869076062b.tar.xz
Add -E option for variable autoimport
Diffstat (limited to 'doc/getpid.html')
-rw-r--r--doc/getpid.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/getpid.html b/doc/getpid.html
index ca363df..5a849e8 100644
--- a/doc/getpid.html
+++ b/doc/getpid.html
@@ -26,7 +26,7 @@ then executes a program.
<h2> Interface </h2>
<pre>
- getpid <em>var</em> <em>prog...</em>
+ getpid [ -E | -e ] <em>var</em> <em>prog...</em>
</pre>
<p>
@@ -34,6 +34,16 @@ then executes a program.
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>