diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/importas.html | 5 | ||||
-rw-r--r-- | doc/upgrade.html | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/importas.html b/doc/importas.html index ac95e87..ae39de6 100644 --- a/doc/importas.html +++ b/doc/importas.html @@ -27,6 +27,7 @@ environment variable, then executes another program. <pre> importas [ -i | -D default ] [ -u ] [ -s ] [ -C | -c ] [ -N | -n ] [ -d <em>delim</em> ] <em>variable</em> <em>envvar</em> <em>prog...</em> + importas -S [ -i | -D default ] [ -u ] [ -s ] [ -C | -c ] [ -N | -n ] [ -d <em>delim</em> ] <em>envvar</em> <em>prog...</em> </pre> <ul> @@ -54,6 +55,10 @@ error message. This has precedence over any <tt>-D</tt> option. </li> 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> <tt>-S</tt> : import with same name. This option allows +<em>variable</em> to be omitted; it will be the same as <em>envvar</em>. +In other words, <code>importas -S <em>var</em></code> is the same as +<code>importas <em>var</em> <em>var</em></code>. </li> <li> Other options are used to <a href="el_transform.html">control the substitution mechanism</a>. </li> </ul> diff --git a/doc/upgrade.html b/doc/upgrade.html index 17da599..f4cd3dc 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -25,6 +25,9 @@ dependency bumped to 2.14.2.0. </li> <li> <a href="elglob.html">elglob</a> now has an option to provide its results as one word (including the possibility of netstring encoding). </li> + <li> <a href="importas.html">importas</a> now has an option that can be +used instead of repeating a variable when it is imported with the same +name. </li> </ul> <h2> in 2.9.5.1 </h2> |