diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-10-30 17:07:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-11-19 13:53:58 (GMT) |
commit | 98290782b65f6d3cdd68bc0acaaf7b3b5d19070c (patch) | |
tree | 15ff713c4aa51280824818fe01554a26c864f797 /Tests/RunCMake/CommandLine/W_bad-arg2-stderr.txt | |
parent | d800c26ce947c01dc32871614c137f7c9bdce3cb (diff) | |
download | CMake-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.txt | 2 |
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. |