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

Function usage

compiler/cpp/src/thrift/main.cc:679–683  ·  view source on GitHub ↗

* Display the usage message and then exit with an error code. */

Source from the content-addressed store, hash-verified

677 * Display the usage message and then exit with an error code.
678 */
679void usage() {
680 fprintf(stderr, "Usage: thrift [options] file\n\n");
681 fprintf(stderr, "Use thrift -help for a list of options\n");
682 exit(1);
683}
684
685/**
686 * Diplays the help message and then exits with an error code.

Callers 2

mainFunction · 0.70
usageMethod · 0.50

Calls

no outgoing calls

Tested by 1

usageMethod · 0.40