diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2021-05-19 15:05:17 (GMT) |
---|---|---|
committer | Robert Maynard <rmaynard@nvidia.com> | 2021-05-19 15:07:16 (GMT) |
commit | 372bf1bcc410f3e36397bae9834ec141a5fca7ec (patch) | |
tree | a10f416d9f68bc95f13a08df5534510049204de1 /Tests | |
parent | 1b8d409342ec0672ba04e15da13b2a37ec49071a (diff) | |
download | CMake-372bf1bcc410f3e36397bae9834ec141a5fca7ec.zip CMake-372bf1bcc410f3e36397bae9834ec141a5fca7ec.tar.gz CMake-372bf1bcc410f3e36397bae9834ec141a5fca7ec.tar.bz2 |
cmCommandLineArgument: Understands which commands require partial matching
Allows us to provide better error messages when commands such as
`--target` are passed invalid input.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CommandLine/build-unknown-command-partial-match-stderr.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/build-unknown-command-partial-match-stderr.txt b/Tests/RunCMake/CommandLine/build-unknown-command-partial-match-stderr.txt index d69338a..e4ad6b2 100644 --- a/Tests/RunCMake/CommandLine/build-unknown-command-partial-match-stderr.txt +++ b/Tests/RunCMake/CommandLine/build-unknown-command-partial-match-stderr.txt @@ -1,2 +1,2 @@ -^CMake Error: '--targetinvalid' is invalid syntax for --target +^Unknown argument --targetinvalid Usage: cmake --build \[<dir> \| --preset <preset>\] \[options\] \[-- \[native-options\]\] |