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

Method nameDescrip

pdal/util/ProgramArgs.hpp:317–324  ·  view source on GitHub ↗

Returns text indicating the longname and shortname of the option suitable for displaying in help information. \note Not intended to be called from user code. */

Source from the content-addressed store, hash-verified

315 \note Not intended to be called from user code.
316 */
317 std::string nameDescrip() const
318 {
319 std::string s("--");
320 s += m_longname;
321 if (m_shortname.size())
322 s += ", -" + m_shortname;
323 return s;
324 }
325 /**
326 Returns text indicating the name of the option suitable for displaying
327 in "usage" text.

Callers 1

dumpMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected