diff options
author | Steven Knight <knight@baldmt.com> | 2004-11-23 18:03:51 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-11-23 18:03:51 (GMT) |
commit | aecc084531f05e110277d52d560b3e3c17fbf09a (patch) | |
tree | 63602bf0f3d05e3db2f3fb295f530302d6463b46 /doc/man | |
parent | 9ee53a60a770d6f5a33624405d35ad4063378367 (diff) | |
download | SCons-aecc084531f05e110277d52d560b3e3c17fbf09a.zip SCons-aecc084531f05e110277d52d560b3e3c17fbf09a.tar.gz SCons-aecc084531f05e110277d52d560b3e3c17fbf09a.tar.bz2 |
Add the ability to map keywords to ListOption (like we already do with EnumOption).
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/scons.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 2f504a6..870377e 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -7536,7 +7536,7 @@ and all input values will be converted to lower case. .TP -.RI ListOption( key ", " help ", " default ", " names ) +.RI ListOption( key ", " help ", " default ", " names ", [", map ]) Return a tuple of arguments to set up an option whose value may be one or more @@ -7560,6 +7560,14 @@ with all values separated by commas. The default may be a string of comma-separated default values, or a list of the default values. +The optional +.I map +argument is a dictionary +that can be used to convert +input values into specific legal values +in the +.I names +list. .TP .RI PackageOption( key ", " help ", " default ) |