| 49 | } |
| 50 | |
| 51 | int main(int argc, const char** argv) |
| 52 | { |
| 53 | const char* const exeName = argv[0]; |
| 54 | |
| 55 | if (argc!=2) { |
| 56 | printf("wrong arguments\n"); |
| 57 | printf("usage:\n"); |
| 58 | printf("%s FILE\n", exeName); |
| 59 | return 1; |
| 60 | } |
| 61 | |
| 62 | const char* const inFilename = argv[1]; |
| 63 | |
| 64 | char* const outFilename = createOutFilename_orDie(inFilename); |
| 65 | compress_orDie(inFilename, outFilename); |
| 66 | free(outFilename); |
| 67 | return 0; |
| 68 | } |
nothing calls this directly
no test coverage detected