aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-02-16 17:03:53 +0100
committerLudovic Courtès <ludo@gnu.org>2019-02-17 00:04:56 +0100
commit7af417502ce2e1712c8fbb3f5169147f820f7871 (patch)
tree496e41c9f7602f6de237035c3ab14dd09a870239
parent8d2c3c54ee4f7c2be1b9c897ee85c26cd5d34a50 (diff)
downloadpatches-7af417502ce2e1712c8fbb3f5169147f820f7871.tar
patches-7af417502ce2e1712c8fbb3f5169147f820f7871.tar.gz
doc: '--inherit' option can be repeated.
* doc/guix.texi (Invoking guix environment): Mention that '--inherit' can be repeated.
-rw-r--r--doc/guix.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index ddd3adf825..04192840a0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4462,7 +4462,8 @@ creating an environment in which search paths only contain package inputs.
@item --inherit=@var{regexp}
When used alongside @option{--pure}, inherit all the environment variables
matching @var{regexp}---in other words, put them on a ``white list'' of
-environment variables that must be preserved.
+environment variables that must be preserved. This option can be repeated
+several times.
@example
guix environment --pure --inherit=^SLURM --ad-hoc openmpi @dots{} \