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.opt | |
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/c.opt')
-rw-r--r-- | gcc/c.opt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index e8f61df9c9a..64e9fe02ddd 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -38,6 +38,14 @@ ; decoder will convert the argument for you, or complain to the user ; if the argument is invalid. +; The third field is the help text to output with --help. This is +; automatically line-wrapped on output. Normally the switch is output +; automatically, with the help text on the right hand side of the +; output. However, if the help text contains a tab character, the +; text to the left of the tab is output instead of the switch, and the +; text to its right forms the help. This is useful for elaborating on +; what type of argument a switch takes, for example. + ; Comments can appear on their own line anwhere in the file, preceded ; by a semicolon. Whitespace is permitted before the semicolon. |