diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-10-25 14:43:34 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-10-25 14:52:07 (GMT) |
commit | 70aef29427b6127fd4c2424ab264de6478117469 (patch) | |
tree | de57609828cbaa368b63ee1beaaf5e67ec5fe710 /Source | |
parent | c3f04fe44d43f42961d6ee1e74f3a3e5c7b0677a (diff) | |
download | CMake-70aef29427b6127fd4c2424ab264de6478117469.zip CMake-70aef29427b6127fd4c2424ab264de6478117469.tar.gz CMake-70aef29427b6127fd4c2424ab264de6478117469.tar.bz2 |
cmake --workflow: print usage message
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmakemain.cxx | 9 |
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; } |