MCPcopy Create free account
hub / github.com/BVLC/caffe / PrintCategories

Function PrintCategories

scripts/cpp_lint.py:4774–4780  ·  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

4772
4773
4774def PrintCategories():
4775 """Prints a list of all the error-categories used by error messages.
4776
4777 These are the categories used to filter messages via --filter.
4778 """
4779 sys.stderr.write(''.join(' %s\n' % cat for cat in _ERROR_CATEGORIES))
4780 sys.exit(0)
4781
4782
4783def ParseArguments(args):

Callers 1

ParseArgumentsFunction · 0.85

Calls 2

writeMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected