summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2009-05-17 15:54:14 (GMT)
committerGreg Noel <GregNoel@tigris.org>2009-05-17 15:54:14 (GMT)
commit57a356b8284d1b52bdd24009700ce90a7bf5593d (patch)
treea0c7c99979ab2663836dbeff555f78b7b25bbb63 /doc
parentc0f6d4d67476e09aab5d423f014d4e7a6dc93148 (diff)
downloadSCons-57a356b8284d1b52bdd24009700ce90a7bf5593d.zip
SCons-57a356b8284d1b52bdd24009700ce90a7bf5593d.tar.gz
SCons-57a356b8284d1b52bdd24009700ce90a7bf5593d.tar.bz2
Issue 2229, fix, tests, doc
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.112
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 593d416..03e4076 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -3669,9 +3669,10 @@ so subsequent calls to
will over-write previous exports that have the same name.
Multiple variable names can be passed to
.BR Export ()
-as separate arguments or as a list. A dictionary can be used to map
-variables to a different name when exported. Both local variables and
-global variables can be exported.
+as separate arguments or as a list.
+Keyword arguments can be used to provide names and their values.
+A dictionary can be used to map variables to a different name when exported.
+Both local variables and global variables can be exported.
Examples:
@@ -3687,7 +3688,10 @@ Export("env", "package")
# Make env and package available for all SConscript files:
Export(["env", "package"])
-# Make env available using the name debug:.
+# Make env available using the name debug:
+Export(debug = env)
+
+# Make env available using the name debug:
Export({"debug":env})
.EE