summaryrefslogtreecommitdiffstats
path: root/doc/user/command-line.xml
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-06-27 18:33:04 (GMT)
committerSteven Knight <knight@baldmt.com>2010-06-27 18:33:04 (GMT)
commit9be7b07c0c453792c750e0842e81eb8cb9dbffc2 (patch)
tree7f8079aad795f2c98fd93e69bcbedcc47df8ba61 /doc/user/command-line.xml
parentf90d10625d4d91e698160c77677ba07d6995e8e2 (diff)
downloadSCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.zip
SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.tar.gz
SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.tar.bz2
Issue 5062: XML fixes in the User's Guide. (Dirk Baechle)
Diffstat (limited to 'doc/user/command-line.xml')
-rw-r--r--doc/user/command-line.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/user/command-line.xml b/doc/user/command-line.xml
index 4b75eba..5ed8ed8 100644
--- a/doc/user/command-line.xml
+++ b/doc/user/command-line.xml
@@ -214,7 +214,10 @@
</para>
- <programlisting></programlisting>
+ <programlisting>
+ if not GetOption('help'):
+ SConscript('src/SConscript', export='env')
+ </programlisting>
<para>
@@ -2107,7 +2110,7 @@
Second,
the contents of the &DEFAULT_TARGETS; list change
- in response to calls to the &Default;: function,
+ in response to calls to the &Default; function,
as you can see from the following &SConstruct; file:
</para>