FreeCalypso > hg > freecalypso-sw
diff ffstools/tiffs-rd/main.c @ 996:09b8b2327838
tiffs in vitro reader: implemented support for old 16-bit location field (-O)
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 03 Jan 2016 04:23:29 +0000 |
parents | 10afa4d39a7b |
children |
line wrap: on
line diff
--- a/ffstools/tiffs-rd/main.c Sat Jan 02 04:05:51 2016 +0000 +++ b/ffstools/tiffs-rd/main.c Sun Jan 03 04:23:29 2016 +0000 @@ -85,7 +85,7 @@ char *cmd; struct cmdtab *tp; - while ((c = getopt(argc, argv, "+a:o:r:v")) != EOF) + while ((c = getopt(argc, argv, "+a:o:Or:v")) != EOF) switch (c) { case 'a': index_blk_num = atoi(optarg); @@ -93,6 +93,9 @@ case 'o': imgfile_offset = strtoul(optarg, 0, 0); continue; + case 'O': + old_16bit_location = 1; + continue; case 'r': root_inode = strtoul(optarg, 0, 16); continue;