]> granicus.if.org Git - libjpeg-turbo/commitdiff
TJUnitTest: Usage formatting tweaks
authorDRC <information@libjpeg-turbo.org>
Sat, 2 Sep 2017 04:08:06 +0000 (04:08 +0000)
committerDRC <information@libjpeg-turbo.org>
Sat, 2 Sep 2017 04:08:06 +0000 (04:08 +0000)
java/TJUnitTest.java
tjunittest.c

index cf2c9711a143532bf4c41d3e56b46598522c2b53..24be8ebff6763ea0c9df46f4dd5ecaa00fe6dff2 100644 (file)
@@ -44,10 +44,10 @@ public class TJUnitTest {
 
   private static void usage() {
     System.out.println("\nUSAGE: java " + classname + " [options]\n");
-    System.out.println("Options:\n");
-    System.out.println("-yuv = test YUV encoding/decoding support\n");
-    System.out.println("-noyuvpad = do not pad each line of each Y, U, and V plane to the nearest\n");
-    System.out.println("            4-byte boundary\n");
+    System.out.println("Options:");
+    System.out.println("-yuv = test YUV encoding/decoding support");
+    System.out.println("-noyuvpad = do not pad each line of each Y, U, and V plane to the nearest");
+    System.out.println("            4-byte boundary");
     System.out.println("-bi = test BufferedImage support\n");
     System.exit(1);
   }
index 6a4022fd83f8119d9671c058af433a560250ef56..7b2054e926762a93c928b04b0373b953dcc95d2b 100644 (file)
 
 void usage(char *progName)
 {
-       printf("\nUSAGE: %s [options]\n", progName);
+       printf("\nUSAGE: %s [options]\n\n", progName);
        printf("Options:\n");
        printf("-yuv = test YUV encoding/decoding support\n");
        printf("-noyuvpad = do not pad each line of each Y, U, and V plane to the nearest\n");
        printf("            4-byte boundary\n");
-       printf("-alloc = test automatic buffer allocation\n");
+       printf("-alloc = test automatic buffer allocation\n\n");
        exit(1);
 }