]> git.draconx.ca Git - cdecl99.git/blobdiff - test/crossparse.c
Use common help formatting in test cases.
[cdecl99.git] / test / crossparse.c
index 210714a3a5dada4fcfdaf9ca88a95387f45f6935..e19b43852f77e6a28d984376f8e45b9e688cf989 100644 (file)
@@ -49,14 +49,7 @@ static void print_help(void)
 
        print_usage(stdout);
        puts("Test that libcdecl can parse its own output.\n");
-
-       puts("Options:");
-       for (opt = lopts; opt->val; opt++) {
-               int w = print_option_start(opt, NULL);
-
-               if (w)
-                       putchar('\n');
-       }
+       test_print_options(lopts);
 }
 
 enum {