MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / PrintUsage

Function PrintUsage

rtpose_wrapper/scripts/cpp_lint.py:4757–4767  ·  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

4755
4756
4757def PrintUsage(message):
4758 """Prints a brief usage string and exits, optionally with an error message.
4759
4760 Args:
4761 message: The optional error message.
4762 """
4763 sys.stderr.write(_USAGE)
4764 if message:
4765 sys.exit('\nFATAL ERROR: ' + message)
4766 else:
4767 sys.exit(1)
4768
4769
4770def PrintCategories():

Callers 1

ParseArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected