diff options
author | Neil Booth <neil@gcc.gnu.org> | 2003-07-08 05:25:39 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-07-08 05:25:39 +0000 |
commit | cf03fd63cd7fd87c4afb7fa0bfedadad02347ede (patch) | |
tree | 795cec94203bc9cbd2c0c078978129faa9d33ea5 /gcc/c-opts.c | |
parent | 690e3ffd330682dcff4a22e74fc0dfdb7a440dc9 (diff) | |
download | gcc-cf03fd63cd7fd87c4afb7fa0bfedadad02347ede.zip gcc-cf03fd63cd7fd87c4afb7fa0bfedadad02347ede.tar.gz gcc-cf03fd63cd7fd87c4afb7fa0bfedadad02347ede.tar.bz2 |
Makefile.in: Update.
* Makefile.in: Update.
* c-opts.c (c_common_handle_option): opt_text now contains the '-'.
* c.opt: Update documentation.
* common.opt: Add some help text.
* opts.c: Include intl.h.
(wrap_help, print_help): New.
(find_opt, handle_option, common_handle_option): opt_text now
contains the '-'. Use print_help to output help.
* opts.h (struct cl_option): New member "help".
* opts.sh: Update to handle help text output and to prepend
options with '-'.
* toplev.c (display_help): Remove some help text.
From-SVN: r69068
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 063e6e2..a12ced1 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -675,7 +675,7 @@ c_common_handle_option (size_t scode, const char *arg, int value) case OPT_fthis_is_variable: case OPT_fvtable_thunks: case OPT_fxref: - warning ("switch \"-%s\" is no longer supported", option->opt_text); + warning ("switch \"%s\" is no longer supported", option->opt_text); break; case OPT_fabi_version_: @@ -691,7 +691,7 @@ c_common_handle_option (size_t scode, const char *arg, int value) if (value) flag_external_templates = true; cp_deprecated: - warning ("switch \"-%s\" is deprecated, please see documentation " + warning ("switch \"%s\" is deprecated, please see documentation " "for details", option->opt_text); break; |