diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 05:25:39 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 05:25:39 +0000 |
commit | 53b8e5c1608b8311cb12839a51a6c8fcf24fb4b7 (patch) | |
tree | 795cec94203bc9cbd2c0c078978129faa9d33ea5 /gcc/c-opts.c | |
parent | 2ef278d887f0a3dea06a183715933fa3bb0a1aa5 (diff) | |
download | ppe42-gcc-53b8e5c1608b8311cb12839a51a6c8fcf24fb4b7.tar.gz ppe42-gcc-53b8e5c1608b8311cb12839a51a6c8fcf24fb4b7.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69068 138bc75d-0d04-0410-961f-82ee72b054a4
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 063e6e208c3..a12ced1f06e 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; |