summaryrefslogtreecommitdiffstats
path: root/test/Removed/debug-tree.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-01-18 15:09:32 (GMT)
committerMats Wichmann <mats@linux.com>2022-02-03 20:15:32 (GMT)
commit5c6d4d988b7e318428c158ded6be7f29a5e99d5e (patch)
tree38aaabb411f8908ee369f1445e43ee6f5f62ca74 /test/Removed/debug-tree.py
parentfc31681a9b3611dbda818ecfd3c98ee8720bc1bd (diff)
downloadSCons-5c6d4d988b7e318428c158ded6be7f29a5e99d5e.zip
SCons-5c6d4d988b7e318428c158ded6be7f29a5e99d5e.tar.gz
SCons-5c6d4d988b7e318428c158ded6be7f29a5e99d5e.tar.bz2
Tweak the scons help message
Processing changed a bit - some lines can now be joined instead of split (if the usage part is short so the combination will still fit). Dropped the "Ingored for compatibility" chunk from the printout. The usage: message was changed as it didn't mention variables. A number of tests expected the exact value of that line, and so were updated. Updated docstrings (for the API docs). Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Removed/debug-tree.py')
-rw-r--r--test/Removed/debug-tree.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/Removed/debug-tree.py b/test/Removed/debug-tree.py
index 06287de..81063da 100644
--- a/test/Removed/debug-tree.py
+++ b/test/Removed/debug-tree.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
#
-# __COPYRIGHT__
+# MIT License
+#
+# Copyright The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -20,9 +22,6 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
Test that the --debug=tree option fails with expected exception
@@ -38,7 +37,7 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-expect = r"""usage: scons [OPTION] [TARGET] ...
+expect = r"""usage: scons [OPTIONS] [VARIABLES] [TARGETS]
SCons Error: `tree' is not a valid debug option type ; please use --tree=all instead
"""