MCPcopy Create free account
hub / github.com/apitrace/apitrace / usage

Function usage

cli/cli_repack.cpp:45–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43static const char *synopsis = "Repack a trace file with different compression.";
44
45static void
46usage(void)
47{
48 std::cout
49 << "usage: apitrace repack [options] <in-trace-file> <out-trace-file>\n"
50 << synopsis << "\n"
51 << "\n"
52 << "Snappy compression allows for faster replay and smaller memory footprint,\n"
53 << "at the expense of a slightly smaller compression ratio than zlib\n"
54 << "\n"
55 << " -b,--brotli[=QUALITY] Use Brotli compression (quality " << BROTLI_MIN_QUALITY << "-" << BROTLI_MAX_QUALITY << ", default " << BROTLI_DEFAULT_QUALITY << ")\n"
56 << " -s,--snappy Use Snappy compression (default format; recommended for qapitrace)\n"
57 << " -z,--zstd[=QUALITY] Use Zstandard (seekable) compression (quality 1-22)\n"
58 << " -g,--zlib Use ZLib (Gzip) compression\n"
59 << "\n";
60}
61
62const static char *
63shortOptions = "hbstz";

Callers 1

commandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected