From 2cc980567a3bf9b714295e88392798dd347fa156 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 19 Jul 2003 08:13:58 +0000 Subject: common.opt: Document --param. * common.opt: Document --param. * opts.c (columns, undocumented_msg): New. (print_help): Get number of columns from environment. Print --param help. Tweak newline handling. (print_param_help): New. (print_filtered_help): Better handling of duplicates. Complain about undocumented switches. (print_switch): New. (wrap_help): Improve wrapping, use COLUMNS. * opts.sh: Ignore comments in records. * params.def: Fix typos and remove trailing periods. * toplev.c (display_help): Don't dump --param help. * doc/sourcebuild.texi: Update. java: * lang.opt: Don't show -MD_ and -MDD_. From-SVN: r69581 --- gcc/toplev.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index cf61228..3bf60111 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3591,18 +3591,6 @@ display_help (void) { unsigned long i; - for (i = LAST_PARAM; i--;) - { - const char *description = compiler_params[i].help; - const int length = 21 - strlen (compiler_params[i].option); - - if (description != NULL && *description != 0) - printf (" --param %s=%.*s%s\n", - compiler_params[i].option, - length > 0 ? length : 1, " ", - _(description)); - } - for (i = ARRAY_SIZE (debug_args); i--;) { if (debug_args[i].description != NULL) -- cgit v1.1