MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / usage

Method usage

options.py:152–157  ·  view source on GitHub ↗

Print usage string to stderr and abort.

(self, msg="")

Source from the content-addressed store, hash-verified

150 return ''.join(out).rstrip() + '\n'
151
152 def usage(self, msg=""):
153 """Print usage string to stderr and abort."""
154 sys.stderr.write(self._usagestr)
155 e = self._onabort and self._onabort(msg) or None
156 if e:
157 raise e
158
159 def fatal(self, s):
160 """Print an error message to stderr and abort with usage string."""

Callers 2

fatalMethod · 0.95
parseMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected