summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-10-30 17:07:48 (GMT)
committerBrad King <brad.king@kitware.com>2020-11-19 13:53:58 (GMT)
commit98290782b65f6d3cdd68bc0acaaf7b3b5d19070c (patch)
tree15ff713c4aa51280824818fe01554a26c864f797 /Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt
parentd800c26ce947c01dc32871614c137f7c9bdce3cb (diff)
downloadCMake-98290782b65f6d3cdd68bc0acaaf7b3b5d19070c.zip
CMake-98290782b65f6d3cdd68bc0acaaf7b3b5d19070c.tar.gz
CMake-98290782b65f6d3cdd68bc0acaaf7b3b5d19070c.tar.bz2
cmake: redesign command-line argument parsing
Make handling more consistent: "-S" -> invalid "-S/path/to/source" -> valid "-S /path/to/source" -> valid "-S=/path/to/source" -> now valid "-D" -> invalid "-DStr" -> valid "-D Str" -> valid "-D=Str" -> now valid "--log-level=" -> invalid "--log-level" -> invalid "--log-level=2" -> valid "--log-level 2" -> now valid
Diffstat (limited to 'Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt')
-rw-r--r--Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt b/Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt
index cc643df..5d416fc 100644
--- a/Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt
+++ b/Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt
@@ -1,2 +1,2 @@
CMake Error: No warning name provided.
-CMake Error: Problem processing arguments. Aborting.
+CMake Error: Run 'cmake --help' for all supported options.