diff options
author | Brad King <brad.king@kitware.com> | 2021-02-23 13:45:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-23 14:11:32 (GMT) |
commit | 2f13fdef0a9471165751f628cb4b2ba7b83b1ae1 (patch) | |
tree | 529e80f5c9df0f6618e5dce7a97a13bba26b321a /Source | |
parent | c2c31ae8969686f1909fe76fef43a232332c7b54 (diff) | |
download | CMake-2f13fdef0a9471165751f628cb4b2ba7b83b1ae1.zip CMake-2f13fdef0a9471165751f628cb4b2ba7b83b1ae1.tar.gz CMake-2f13fdef0a9471165751f628cb4b2ba7b83b1ae1.tar.bz2 |
cmake: Document '--preset <preset>' form of the argument
This form already works. Document it and add tests.
Issue: #21855
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmakemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index cd3c955..4260ca2 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -64,7 +64,7 @@ const char* cmDocumentationUsageNote[][2] = { const char* cmDocumentationOptions[][2] = { CMAKE_STANDARD_OPTIONS_TABLE, - { "--preset=<preset>", "Specify a configure preset." }, + { "--preset <preset>,--preset=<preset>", "Specify a configure preset." }, { "--list-presets", "List available presets." }, { "-E", "CMake command mode." }, { "-L[A][H]", "List non-advanced cached variables." }, |