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/opts.h | |
parent | 2ef278d887f0a3dea06a183715933fa3bb0a1aa5 (diff) | |
download | gcc-53b8e5c1608b8311cb12839a51a6c8fcf24fb4b7.tar.gz |
* 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/opts.h')
-rw-r--r-- | gcc/opts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index 52ab44b334a..cffeeba98cc 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -26,6 +26,7 @@ extern void decode_options (unsigned int argc, const char **argv); struct cl_option { const char *opt_text; + const char *help; unsigned short back_chain; unsigned char opt_len; unsigned int flags; |