| 285 | |
| 286 | |
| 287 | void Kernel::outputHelp() |
| 288 | { |
| 289 | ProgramArgs basicArgs; |
| 290 | addBasicSwitches(basicArgs); |
| 291 | |
| 292 | ProgramArgs args; |
| 293 | addSwitches(args); |
| 294 | |
| 295 | std::cout << "usage: " << "pdal " << getShortName() << " [options] " << |
| 296 | args.commandLine() << std::endl; |
| 297 | |
| 298 | std::cout << "standard options:" << std::endl; |
| 299 | basicArgs.dump(std::cout, 2, Utils::screenWidth()); |
| 300 | std::cout << "options:" << std::endl; |
| 301 | args.dump(std::cout, 2, Utils::screenWidth()); |
| 302 | |
| 303 | std::cout <<"\nFor more information, see the full documentation for " |
| 304 | "PDAL at https://pdal.org/\n" << std::endl; |
| 305 | } |
| 306 | |
| 307 | |
| 308 | void Kernel::addBasicSwitches(ProgramArgs& args) |
nothing calls this directly
no test coverage detected