]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Fixed typo in opj_compress error report (fixes issue 350)
authorMatthieu Darbois <mayeut@users.noreply.github.com>
Tue, 2 Dec 2014 20:18:50 +0000 (20:18 +0000)
committerMatthieu Darbois <mayeut@users.noreply.github.com>
Tue, 2 Dec 2014 20:18:50 +0000 (20:18 +0000)
src/bin/jp2/opj_compress.c

index 55828b1fa7e15e3b94e576525c05b76b0bf951fe..493555dbdfa5536989bbe0c02e6ae7ffe7ef9b7c 100644 (file)
@@ -1456,7 +1456,7 @@ static int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *param
     }else{
         if((parameters->infile[0] == 0) || (parameters->outfile[0] == 0)) {
             fprintf(stderr, "[ERROR] Required parameters are missing\n"
-                            "Example: %s -i image.j2k -o image.pgm\n",argv[0]);
+                            "Example: %s -i image.pgm -o image.j2k\n",argv[0]);
             fprintf(stderr, "   Help: %s -h\n",argv[0]);
             return 1;
         }