[trunk] Add documentation
This commit is contained in:
parent
18c5be69e9
commit
2b93727bea
|
@ -120,7 +120,11 @@ int main(int argc, char *argv[])
|
||||||
int X, Y, bpp;
|
int X, Y, bpp;
|
||||||
int ok = 0;
|
int ok = 0;
|
||||||
|
|
||||||
if( argc < 2 ) goto cleanup;
|
if( argc < 2 )
|
||||||
|
{
|
||||||
|
fprintf( stderr, "%s input.ppm\n", argv[0] );
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
fn = argv[1];
|
fn = argv[1];
|
||||||
ppm = fopen( fn, "rb" );
|
ppm = fopen( fn, "rb" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue