summaryrefslogtreecommitdiffstats
path: root/SCons/Script
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-07-29 14:56:52 (GMT)
committerMats Wichmann <mats@linux.com>2020-07-29 14:56:52 (GMT)
commitfb5fdb341325c89878dfa5cc2bbdbe96a360154f (patch)
treedc11f34a595184337a854ad2f46d4ae1a685905f /SCons/Script
parent926bafc7fbe46e9414366e93a1dbca318718af7e (diff)
downloadSCons-fb5fdb341325c89878dfa5cc2bbdbe96a360154f.zip
SCons-fb5fdb341325c89878dfa5cc2bbdbe96a360154f.tar.gz
SCons-fb5fdb341325c89878dfa5cc2bbdbe96a360154f.tar.bz2
[PR #3758] be more explicit about syncing SetOption list [ci skip]
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Script')
-rw-r--r--SCons/Script/Main.xml3
-rw-r--r--SCons/Script/SConsOptions.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/SCons/Script/Main.xml b/SCons/Script/Main.xml
index 1519171..ed9f6c3 100644
--- a/SCons/Script/Main.xml
+++ b/SCons/Script/Main.xml
@@ -779,7 +779,8 @@ temporarily overriding it via command line.
The settable variables with their associated command-line options are:
</para>
-<!-- this list comes directly from SConsValues.settable. Keep in sync. -->
+<!-- UPDATE_SETOPTION_DOCS -->
+<!-- This list comes directly from SConsValues.settable. Keep in sync. -->
<informaltable rowsep="1" colsep="1" frame="topbot">
<tgroup cols="2">
diff --git a/SCons/Script/SConsOptions.py b/SCons/Script/SConsOptions.py
index e407306..cf203e1 100644
--- a/SCons/Script/SConsOptions.py
+++ b/SCons/Script/SConsOptions.py
@@ -126,7 +126,8 @@ class SConsValues(optparse.Values):
# is not available.
raise AttributeError(attr)
- # keep this list in sync with SetOption doc in SCons/Script/Main.xml
+ # keep this list in sync with the SetOption doc in SCons/Script/Main.xml
+ # search for UPDATE_SETOPTION_DOCS there.
settable = [
'clean',
'diskcheck',