Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
def
usage(msg, code=2):
60
sys.stdout = sys.stderr
61
print(msg)
62
print(__doc__)
63
sys.exit(code)
64
65
66
if
__name__ ==
'__main__'
:
Callers
1
main
Function · 0.70
Calls
2
print
Function · 0.50
exit
Method · 0.45
Tested by
no test coverage detected