Fix bug in error output.
This commit is contained in:
parent
fb4cb16134
commit
ad9dd219cd
@ -1,5 +1,5 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* $Id: tiffset.c,v 1.2 2001-09-26 17:42:18 warmerda Exp $
|
* $Id: tiffset.c,v 1.3 2002-01-16 17:50:05 warmerda Exp $
|
||||||
*
|
*
|
||||||
* Project: libtiff tools
|
* Project: libtiff tools
|
||||||
* Purpose: Mainline for setting metadata in existing TIFF files.
|
* Purpose: Mainline for setting metadata in existing TIFF files.
|
||||||
@ -29,7 +29,10 @@
|
|||||||
******************************************************************************
|
******************************************************************************
|
||||||
*
|
*
|
||||||
* $Log: tiffset.c,v $
|
* $Log: tiffset.c,v $
|
||||||
* Revision 1.2 2001-09-26 17:42:18 warmerda
|
* Revision 1.3 2002-01-16 17:50:05 warmerda
|
||||||
|
* Fix bug in error output.
|
||||||
|
*
|
||||||
|
* Revision 1.2 2001/09/26 17:42:18 warmerda
|
||||||
* added TIFFRewriteDirectory
|
* added TIFFRewriteDirectory
|
||||||
*
|
*
|
||||||
* Revision 1.1 2001/03/02 04:58:53 warmerda
|
* Revision 1.1 2001/03/02 04:58:53 warmerda
|
||||||
@ -86,7 +89,8 @@ main(int argc, char* argv[])
|
|||||||
|
|
||||||
if( id < 1 )
|
if( id < 1 )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "Field name %s not recognised.\n" );
|
fprintf( stderr, "Field name %s not recognised.\n",
|
||||||
|
argv[arg_index+1] );
|
||||||
exit( -3 );
|
exit( -3 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,7 +116,8 @@ main(int argc, char* argv[])
|
|||||||
|
|
||||||
if( id < 1 )
|
if( id < 1 )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "Field name %s not recognised.\n" );
|
fprintf( stderr, "Field name %s not recognised.\n",
|
||||||
|
argv[arg_index+1] );
|
||||||
exit( -3 );
|
exit( -3 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user