update latest
[external/libjpeg-turbo.git] / cjpeg.c
diff --git a/cjpeg.c b/cjpeg.c
index 3daa259..0475c02 100644 (file)
--- a/cjpeg.c
+++ b/cjpeg.c
@@ -164,6 +164,9 @@ usage (void)
   fprintf(stderr, "  -targa         Input file is Targa format (usually not needed)\n");
 #endif
   fprintf(stderr, "Switches for advanced users:\n");
+#ifdef C_ARITH_CODING_SUPPORTED
+  fprintf(stderr, "  -arithmetic    Use arithmetic coding\n");
+#endif
 #ifdef DCT_ISLOW_SUPPORTED
   fprintf(stderr, "  -dct int       Use integer DCT method%s\n",
          (JDCT_DEFAULT == JDCT_ISLOW ? " (default)" : ""));
@@ -184,9 +187,6 @@ usage (void)
   fprintf(stderr, "  -outfile name  Specify name for output file\n");
   fprintf(stderr, "  -verbose  or  -debug   Emit debug output\n");
   fprintf(stderr, "Switches for wizards:\n");
-#ifdef C_ARITH_CODING_SUPPORTED
-  fprintf(stderr, "  -arithmetic    Use arithmetic coding\n");
-#endif
   fprintf(stderr, "  -baseline      Force baseline quantization tables\n");
   fprintf(stderr, "  -qtables file  Use quantization tables given in file\n");
   fprintf(stderr, "  -qslots N[,...]    Set component quantization tables\n");
@@ -277,9 +277,9 @@ parse_switches (j_compress_ptr cinfo, int argc, char **argv,
       if (! printed_version) {
        fprintf(stderr, "%s version %s (build %s)\n",
                PACKAGE_NAME, VERSION, BUILD);
-       fprintf(stderr, "%s\n\n", LJTCOPYRIGHT);
-       fprintf(stderr, "Based on Independent JPEG Group's libjpeg, version %s\n%s\n\n",
-               JVERSION, JCOPYRIGHT);
+       fprintf(stderr, "%s\n\n", JCOPYRIGHT);
+       fprintf(stderr, "Emulating The Independent JPEG Group's libjpeg, version %s\n\n",
+               JVERSION);
        printed_version = TRUE;
       }
       cinfo->err->trace_level++;