| 30 | static std::map<uint16_t, uint16_t> allocationTable; |
| 31 | |
| 32 | void syntax() |
| 33 | { |
| 34 | std::cout << "Syntax: brother120tool <image> [<filenames...>]\n" |
| 35 | " brother120tool --create <image> <filenames...>\n" |
| 36 | "If you specify a filename, it's extracted into the current " |
| 37 | "directory.\n" |
| 38 | "Wildcards are allowed. If you don't, the directory is listed " |
| 39 | "instead.\n"; |
| 40 | exit(0); |
| 41 | } |
| 42 | |
| 43 | void readDirectory() |
| 44 | { |