MCPcopy Create free account
hub / github.com/SIPp/sipp / PrintUsage

Function PrintUsage

cpplint.py:3926–3936  ·  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

3924
3925
3926def PrintUsage(message):
3927 """Prints a brief usage string and exits, optionally with an error message.
3928
3929 Args:
3930 message: The optional error message.
3931 """
3932 sys.stderr.write(_USAGE)
3933 if message:
3934 sys.exit('\nFATAL ERROR: ' + message)
3935 else:
3936 sys.exit(1)
3937
3938
3939def PrintCategories():

Callers 1

ParseArgumentsFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected