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

Method commandLine

pdal/util/ProgramArgs.hpp:330–338  ·  view source on GitHub ↗

Returns text indicating the name of the option suitable for displaying in "usage" text. \note Not intended to be called from user code. */

Source from the content-addressed store, hash-verified

328 \note Not intended to be called from user code.
329 */
330 std::string commandLine() const
331 {
332 std::string s;
333 if (m_positional == PosType::Required)
334 s = m_longname;
335 else if (m_positional == PosType::Optional)
336 s += '[' + m_longname + ']';
337 return s;
338 }
339
340protected:
341 std::string m_longname;

Callers 4

outputHelpFunction · 0.45
outputHelpMethod · 0.45
outputHelpMethod · 0.45
commandLineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected