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

Function PrintCategories

support/cpplint.py:6136–6142  ·  view source on GitHub ↗

Prints a list of all the error-categories used by error messages. These are the categories used to filter messages via --filter.

()

Source from the content-addressed store, hash-verified

6134
6135
6136def PrintCategories():
6137 """Prints a list of all the error-categories used by error messages.
6138
6139 These are the categories used to filter messages via --filter.
6140 """
6141 sys.stderr.write(''.join(' %s\n' % cat for cat in _ERROR_CATEGORIES))
6142 sys.exit(0)
6143
6144
6145def ParseArguments(args):

Callers 1

ParseArgumentsFunction · 0.85

Calls 3

exitMethod · 0.80
joinMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected