X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/824aaae2b31bd70ec359be525718da8fc8661972..e215f7aba9028dd2bce9e10d56fe19bfd72b5a9e:/test/randomdecl.c diff --git a/test/randomdecl.c b/test/randomdecl.c index a5b5d3c..c9f4e41 100644 --- a/test/randomdecl.c +++ b/test/randomdecl.c @@ -58,14 +58,7 @@ static void print_help(void) print_usage(stdout); puts("Generate random C declarations for testing.\n"); - - puts("Options:"); - for (opt = lopts; opt->val; opt++) { - int w = print_option_start(opt, NULL); - - if (w) - putchar('\n'); - } + test_print_options(lopts); } static struct cdecl *random_decl(struct gen_rng *rng)