MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / usage

Function usage

tools/python-3.11.9-amd64/Tools/scripts/rgrep.py:59–63  ·  view source on GitHub ↗
(msg, code=2)

Source from the content-addressed store, hash-verified

57
58
59def usage(msg, code=2):
60 sys.stdout = sys.stderr
61 print(msg)
62 print(__doc__)
63 sys.exit(code)
64
65
66if __name__ == '__main__':

Callers 1

mainFunction · 0.70

Calls 2

printFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected