summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets
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/CMakePresets
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/CMakePresets')
-rw-r--r--Tests/RunCMake/CMakePresets/NoPresetArgument-stderr.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakePresets/NoPresetArgument-stderr.txt b/Tests/RunCMake/CMakePresets/NoPresetArgument-stderr.txt
index aef30d2..a53682d 100644
--- a/Tests/RunCMake/CMakePresets/NoPresetArgument-stderr.txt
+++ b/Tests/RunCMake/CMakePresets/NoPresetArgument-stderr.txt
@@ -1 +1,2 @@
-^CMake Error: No preset specified for --preset$
+^CMake Error: No preset specified for --preset
+CMake Error: Run 'cmake --help' for all supported options.$