MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / PrintUsage

Function PrintUsage

engine/3rdparty/tinyobjloader/deps/cpplint.py:6212–6222  ·  view source on GitHub ↗

Prints a brief usage string and exits, optionally with an error message. Args: message: The optional error message.

(message)

Source from the content-addressed store, hash-verified

6210
6211
6212def PrintUsage(message):
6213 """Prints a brief usage string and exits, optionally with an error message.
6214
6215 Args:
6216 message: The optional error message.
6217 """
6218 sys.stderr.write(_USAGE)
6219 if message:
6220 sys.exit('\nFATAL ERROR: ' + message)
6221 else:
6222 sys.exit(1)
6223
6224
6225def PrintCategories():

Callers 1

ParseArgumentsFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected