void Kernel::outputHelp(ProgramArgs& args) { std::cout << "usage: " << "pdal " << m_appName << " [options] " << args.commandLine() << std::endl; std::cout << "options:" << std::endl; args.dump(std::cout, 2, Utils::screenWidth()); //ABELL - Fix me. std::cout <<"\nFor more information, see the full documentation for " "PDAL at http://pdal.io/\n" << std::endl; }
void App::outputHelp(const ProgramArgs& args) { m_out << "Usage:" << std::endl; m_out << " pdal <options>" << std::endl; m_out << " pdal <command> <command options>" << std::endl; args.dump(m_out, 2, 80); m_out << std::endl; m_out << "The following commands are available:" << std::endl; // Load all kernels so that we can report the names. StageFactory f; PluginManager<Kernel>::loadAll(); outputCommands(" - "); m_out << std::endl; m_out << "See http://pdal.io/apps/ for more detail" << std::endl; }