[trunk] Add documentation

This commit is contained in:
Mathieu Malaterre 2014-03-25 10:22:40 +00:00
parent 18c5be69e9
commit 2b93727bea
1 changed files with 5 additions and 1 deletions

View File

@ -120,7 +120,11 @@ int main(int argc, char *argv[])
int X, Y, bpp;
int ok = 0;
if( argc < 2 ) goto cleanup;
if( argc < 2 )
{
fprintf( stderr, "%s input.ppm\n", argv[0] );
goto cleanup;
}
fn = argv[1];
ppm = fopen( fn, "rb" );