MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / checkFromWorldFile

Function checkFromWorldFile

src/bzfs/CmdLineOptions.cpp:324–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322
323
324static void checkFromWorldFile(const std::string& option, bool fromWorldFile) {
325 if (fromWorldFile) {
326 std::cerr << "ERROR: option [" << option
327 << "] cannot be set within a world file" << std::endl;
328 usage("bzfs");
329 }
330}
331
332
333static int parseIntArg(int& i, const std::vector<std::string>& tokens,

Callers 1

parseMethod · 0.85

Calls 1

usageFunction · 0.70

Tested by

no test coverage detected