added i flag to getopt call
This commit is contained in:
parent
037cab3498
commit
6d23304d26
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tiffinfo.c,v 1.5 2004-06-05 08:13:06 dron Exp $ */
|
/* $Id: tiffinfo.c,v 1.6 2004-07-06 15:20:37 warmerda Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988-1997 Sam Leffler
|
* Copyright (c) 1988-1997 Sam Leffler
|
||||||
@ -53,7 +53,7 @@ main(int argc, char* argv[])
|
|||||||
uint32 diroff = 0;
|
uint32 diroff = 0;
|
||||||
int chopstrips = 0; /* disable strip chopping */
|
int chopstrips = 0; /* disable strip chopping */
|
||||||
|
|
||||||
while ((c = getopt(argc, argv, "f:o:cdDSjlmrsvwz0123456789")) != -1)
|
while ((c = getopt(argc, argv, "f:o:cdDSjilmrsvwz0123456789")) != -1)
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '0': case '1': case '2': case '3':
|
case '0': case '1': case '2': case '3':
|
||||||
case '4': case '5': case '6': case '7':
|
case '4': case '5': case '6': case '7':
|
||||||
|
Loading…
Reference in New Issue
Block a user