summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTom Tanner <ttanner2@bloomberg.net>2013-10-01 10:38:32 (GMT)
committerTom Tanner <ttanner2@bloomberg.net>2013-10-01 10:38:32 (GMT)
commit56875f9b7463ebb9cd1478187d9cd3ca25fd40d2 (patch)
treeb60aee19c8130396fb3757fad129f66193aec129 /doc
parent01f45ca84f2b1c9f2b8113e09a270503ab8581e0 (diff)
downloadSCons-56875f9b7463ebb9cd1478187d9cd3ca25fd40d2.zip
SCons-56875f9b7463ebb9cd1478187d9cd3ca25fd40d2.tar.gz
SCons-56875f9b7463ebb9cd1478187d9cd3ca25fd40d2.tar.bz2
support for --cache-readonly
Setting this will fetch data from the cache but won't update it.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.xml23
1 files changed, 17 insertions, 6 deletions
diff --git a/doc/man/scons.xml b/doc/man/scons.xml
index 602bdbe..947d86d 100644
--- a/doc/man/scons.xml
+++ b/doc/man/scons.xml
@@ -61,12 +61,12 @@
<releaseinfo>version &buildversion;</releaseinfo>
</referenceinfo>
-
+
<title>SCons &buildversion;</title>
<subtitle>MAN page</subtitle>
-
-
-<refentry id='scons1'>
+
+
+<refentry id='scons1'>
<refmeta>
<refentrytitle>SCONS</refentrytitle>
<manvolnum>1</manvolnum>
@@ -79,7 +79,7 @@
<!-- body begins here -->
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
- <command>scons</command>
+ <command>scons</command>
<arg choice='opt' rep='repeat'><replaceable>options</replaceable></arg>
<arg choice='opt' rep='repeat'><replaceable>name=val</replaceable></arg>
<arg choice='opt' rep='repeat'><replaceable>targets</replaceable></arg>
@@ -381,6 +381,7 @@ will be retrieved from the cache instead of being rebuilt locally.
Caching behavior may be disabled and controlled in other ways by the
<option>--cache-force</option>,
<option>--cache-disable</option>,
+<option>--cache-readonly</option>,
and
<option>--cache-show</option>
command-line options. The
@@ -542,6 +543,15 @@ option.</para>
</listitem>
</varlistentry>
+<varlistentry>
+ <term>--cache-readonly</term>
+ <listitem>
+<para>Use the cache (if enabled) for reading, but do not not update the
+cache with changed files.
+</para>
+
+ </listitem>
+ </varlistentry>
<varlistentry>
<term>--cache-show</term>
<listitem>
@@ -1094,6 +1104,7 @@ command:</para>
--cache-debug=FILE
--cache-disable, --no-cache
--cache-force, --cache-populate
+--cache-readonly
--cache-show
--debug=TYPE
-i, --ignore-errors
@@ -6775,7 +6786,7 @@ specified in the
<emphasis role="bold">$MYPATH</emphasis>
construction variable. It lets SCons detect the file
<emphasis role="bold">incs/foo.inc</emphasis>
-, even if
+, even if
<emphasis role="bold">foo.x</emphasis>
contains the line
<emphasis role="bold">include foo.inc</emphasis>