MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / DashesOnly

Method DashesOnly

simcore/framework/src/cli/cli.hpp:606–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604 static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
605 static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
606 static BadNameString DashesOnly(std::string name) {
607 return BadNameString("Must have a name, not just dashes: " + name);
608 }
609 static BadNameString MultiPositionalNames(std::string name) {
610 return BadNameString("Only one positional name allowed, remove: " + name);
611 }

Callers

nothing calls this directly

Calls 1

BadNameStringClass · 0.85

Tested by

no test coverage detected