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

Function usage

contrib/thrift_dump.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32using namespace apache::thrift::protocol;
33
34void usage() {
35 fprintf(stderr,
36 "usage: thrift_dump {-b|-f|-s} < input > ouput\n"
37 " -b TBufferedTransport messages\n"
38 " -f TFramedTransport messages\n"
39 " -s Raw structures\n");
40 exit(EXIT_FAILURE);
41}
42
43int main(int argc, char *argv[]) {
44 if (argc != 2) {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected