TJUnitTest: Usage formatting tweaks

This commit is contained in:
DRC
2017-09-02 04:08:06 +00:00
parent d0bac69a8a
commit 5426a4cb16
2 changed files with 6 additions and 6 deletions

View File

@@ -44,10 +44,10 @@ public class TJUnitTest {
private static void usage() { private static void usage() {
System.out.println("\nUSAGE: java " + classname + " [options]\n"); System.out.println("\nUSAGE: java " + classname + " [options]\n");
System.out.println("Options:\n"); System.out.println("Options:");
System.out.println("-yuv = test YUV encoding/decoding support\n"); 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\n"); 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\n"); System.out.println(" 4-byte boundary");
System.out.println("-bi = test BufferedImage support\n"); System.out.println("-bi = test BufferedImage support\n");
System.exit(1); System.exit(1);
} }

View File

@@ -44,12 +44,12 @@
void usage(char *progName) void usage(char *progName)
{ {
printf("\nUSAGE: %s [options]\n", progName); printf("\nUSAGE: %s [options]\n\n", progName);
printf("Options:\n"); printf("Options:\n");
printf("-yuv = test YUV encoding/decoding support\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("-noyuvpad = do not pad each line of each Y, U, and V plane to the nearest\n");
printf(" 4-byte boundary\n"); printf(" 4-byte boundary\n");
printf("-alloc = test automatic buffer allocation\n"); printf("-alloc = test automatic buffer allocation\n\n");
exit(1); exit(1);
} }