summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmakemain.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index b754b72..47e34a6 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -956,7 +956,14 @@ int do_workflow(int ac, char const* const* av)
}
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;
}