| 150 | #endif |
| 151 | |
| 152 | void CMakeCommandUsage(std::string const& program) |
| 153 | { |
| 154 | /* clang-format off */ |
| 155 | std::string help_screen = cmStrCat( |
| 156 | #ifndef CMAKE_BOOTSTRAP |
| 157 | "cmake version " |
| 158 | , cmVersion::GetCMakeVersion() |
| 159 | , "\n" |
| 160 | #else |
| 161 | "cmake bootstrap\n" |
| 162 | #endif |
| 163 | "Usage: " |
| 164 | , program |
| 165 | , " -E <command> [arguments...]\n" |
| 166 | , HELP_AVAILABLE_COMMANDS |
| 167 | #if defined(_WIN32) && !defined(__CYGWIN__) |
| 168 | , HELP_AVAILABLE_WINDOWS_COMMANDS |
| 169 | #endif |
| 170 | ); |
| 171 | /* clang-format on */ |
| 172 | cmSystemTools::Error(help_screen); |
| 173 | } |
| 174 | |
| 175 | bool cmTarFilesFrom(std::string const& file, std::vector<std::string>& files) |
| 176 | { |
no test coverage detected
searching dependent graphs…