MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / PrintUsage

Function PrintUsage

util/cpplint.py:6037–6047  ·  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

6035
6036
6037def PrintUsage(message):
6038 """Prints a brief usage string and exits, optionally with an error message.
6039
6040 Args:
6041 message: The optional error message.
6042 """
6043 sys.stderr.write(_USAGE)
6044 if message:
6045 sys.exit('\nFATAL ERROR: ' + message)
6046 else:
6047 sys.exit(1)
6048
6049
6050def PrintCategories():

Callers 2

ProcessHppHeadersOptionFunction · 0.85
ParseArgumentsFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected