diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-30 23:06:31 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-30 23:06:31 +0000 |
commit | f021f61f10c566fcae2f77b1a4b095869076062b (patch) | |
tree | ce84d18f30a4ebf5f6dc3b7ea1b009ba1a06ffcf /doc/getcwd.html | |
parent | b6b71f9942fb5f209e183c2ca997f33071c38c71 (diff) | |
download | execline-f021f61f10c566fcae2f77b1a4b095869076062b.tar.xz |
Add -E option for variable autoimport
Diffstat (limited to 'doc/getcwd.html')
-rw-r--r-- | doc/getcwd.html | 12 |
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> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : 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> |