| 17 | static TSK_TCHAR *progname; |
| 18 | |
| 19 | static void |
| 20 | usage() |
| 21 | { |
| 22 | TFPRINTF(stderr, |
| 23 | _TSK_T |
| 24 | ("usage: %s [-vVm] [-i imgtype] [-b dev_sector_size] [-z zone] [-s seconds] image [image]\n"), |
| 25 | progname); |
| 26 | tsk_fprintf(stderr, |
| 27 | "\t-i imgtype: The format of the image file (use '-i list' for supported types)\n"); |
| 28 | tsk_fprintf(stderr, |
| 29 | "\t-b dev_sector_size: The size (in bytes) of the device sectors\n"); |
| 30 | tsk_fprintf(stderr, "\t-m: Calculate MD5 hash in output (slow)\n"); |
| 31 | tsk_fprintf(stderr, "\t-v: verbose output to stderr\n"); |
| 32 | tsk_fprintf(stderr, "\t-V: Print version\n"); |
| 33 | tsk_fprintf(stderr, |
| 34 | "\t-z: Time zone of original machine (i.e. EST5EDT or GMT) (only useful with -l)\n"); |
| 35 | tsk_fprintf(stderr, |
| 36 | "\t-s seconds: Time skew of original machine (in seconds) (only useful with -l & -m)\n"); |
| 37 | |
| 38 | |
| 39 | exit(1); |
| 40 | } |
| 41 | |
| 42 | |
| 43 | class TskGetTimes:public TskAuto { |
no test coverage detected