MCPcopy Create free account
hub / github.com/PDAL/PDAL / outputHelp

Method outputHelp

pdal/Kernel.cpp:287–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285
286
287void 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
308void Kernel::addBasicSwitches(ProgramArgs& args)

Callers

nothing calls this directly

Calls 4

addSwitchesFunction · 0.85
getShortNameFunction · 0.85
commandLineMethod · 0.45
dumpMethod · 0.45

Tested by

no test coverage detected