| 48 | static const char *synopsis = "Print given trace file(s) information in JSON format"; |
| 49 | |
| 50 | static void |
| 51 | usage(void) |
| 52 | { |
| 53 | std::cout |
| 54 | << "usage: apitrace info [OPTIONS] TRACE_FILE...\n" |
| 55 | << synopsis << "\n" |
| 56 | "\n" |
| 57 | " -h, --help show this help message and exit\n" |
| 58 | " --dump-frames dump per frame information\n" |
| 59 | "\n" |
| 60 | ; |
| 61 | } |
| 62 | |
| 63 | enum { |
| 64 | DUMP_FRAMES_OPT = CHAR_MAX + 1, |