summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-05-12 13:44:39 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2021-05-13 13:28:42 (GMT)
commit5aa0dec6b011c74225f4af895922edd10db09607 (patch)
treef62e76730298284c05247c0ab985a90cf1eaf14f /Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt
parent928cdb17c53f2fc5e57d658f297ec735ab8cb81d (diff)
downloadCMake-5aa0dec6b011c74225f4af895922edd10db09607.zip
CMake-5aa0dec6b011c74225f4af895922edd10db09607.tar.gz
CMake-5aa0dec6b011c74225f4af895922edd10db09607.tar.bz2
cmake: `--build` and `--install` error out when encountering bad flags
Fixes #22186
Diffstat (limited to 'Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt')
-rw-r--r--Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt b/Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt
new file mode 100644
index 0000000..c8f1a03
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/build-unknown-command-long-stderr.txt
@@ -0,0 +1,2 @@
+^Unknown argument --invalid-command
+Usage: cmake --build \[<dir> \| --preset <preset>\] \[options\] \[-- \[native-options\]\]