| 102 | |
| 103 | |
| 104 | void App::outputHelp(const ProgramArgs& args) |
| 105 | { |
| 106 | m_out << "Usage:" << std::endl; |
| 107 | m_out << " pdal <options>" << std::endl; |
| 108 | m_out << " pdal <command> <command options>" << std::endl; |
| 109 | |
| 110 | args.dump(m_out, 2, 80); |
| 111 | m_out << std::endl; |
| 112 | |
| 113 | m_out << "The following commands are available:" << std::endl; |
| 114 | |
| 115 | // Load all kernels so that we can report the names. |
| 116 | StageFactory f; |
| 117 | PluginManager<Kernel>::loadAll(); |
| 118 | outputCommands(" - "); |
| 119 | m_out << std::endl; |
| 120 | m_out << "See https://pdal.org/apps/ for more detail" << std::endl; |
| 121 | } |
| 122 | |
| 123 | |
| 124 | void App::outputDrivers() |