MCPcopy Create free account
hub / github.com/apache/mesos / usage

Function usage

src/python/cli/src/mesos/cli.py:20–24  ·  view source on GitHub ↗
(message, parser)

Source from the content-addressed store, hash-verified

18
19# Helper for printing out a message and then the "usage" then exiting.
20def usage(message, parser):
21 import sys
22 sys.stderr.write(message + '\n')
23 parser.print_help()
24 sys.exit(1)
25
26
27# Helper for printing out a message and then exiting.

Callers

nothing calls this directly

Calls 2

exitMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected