diff options
author | Brad King <brad.king@kitware.com> | 2021-02-23 14:12:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-23 14:22:00 (GMT) |
commit | 6fa36470239a40ef81752ddea923d8618ad6eb7c (patch) | |
tree | b1a9b98b5485f9a824d5986446163883bc22b62d /Source/ctest.cxx | |
parent | 3357d377612fc238ff9da61666041764792034bb (diff) | |
download | CMake-6fa36470239a40ef81752ddea923d8618ad6eb7c.zip CMake-6fa36470239a40ef81752ddea923d8618ad6eb7c.tar.gz CMake-6fa36470239a40ef81752ddea923d8618ad6eb7c.tar.bz2 |
ctest: Add support for '--prefix=<prefix>' form of the argument
The main `cmake --preset` argument for configure presets supports both
forms, so support it for `ctest --preset` too.
Fixes: #21855
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 1404b0c..3c331d3 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -26,7 +26,8 @@ static const char* cmDocumentationUsage[][2] = { { nullptr, { nullptr, nullptr } }; static const char* cmDocumentationOptions[][2] = { - { "--preset <preset>", "Read arguments from a test preset." }, + { "--preset <preset>, --preset=<preset>", + "Read arguments from a test preset." }, { "--list-presets", "List available test presets." }, { "-C <cfg>, --build-config <cfg>", "Choose configuration to test." }, { "--progress", "Enable short progress output from tests." }, |