mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 21:40:15 +08:00
cmake --workflow: print usage message
This commit is contained in:
@@ -956,7 +956,14 @@ int do_workflow(int ac, char const* const* av)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (presetName.empty() && !listPresets) {
|
if (presetName.empty() && !listPresets) {
|
||||||
std::cerr << "TODO: Usage\n";
|
/* clang-format off */
|
||||||
|
std::cerr <<
|
||||||
|
"Usage: cmake --workflow [options]\n"
|
||||||
|
"Options:\n"
|
||||||
|
" --preset <preset> = Workflow preset to execute.\n"
|
||||||
|
" --list-presets = List available workflow presets.\n"
|
||||||
|
;
|
||||||
|
/* clang-format on */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user