diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-25 10:22:40 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-25 10:22:40 +0000 |
| commit | 2b93727bea45406118bf6110aa8e725dc6d9f68b (patch) | |
| tree | 1dc64ec91f9f9e75055a2ba2174dfb3c152cd676 /tests | |
| parent | 18c5be69e9c2bd195e707a7ef7f1f6625b74a86b (diff) | |
[trunk] Add documentation
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ppm2rgb3.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ppm2rgb3.c b/tests/ppm2rgb3.c index c9b4772a..58e7102c 100644 --- a/tests/ppm2rgb3.c +++ b/tests/ppm2rgb3.c @@ -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" ); |
