summaryrefslogtreecommitdiff
path: root/gcc/optc-gen.awk
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-01 11:26:06 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-01 11:26:06 +0000
commit1df76a7982581c4557b57ee92d80eff2c7001ede (patch)
tree89f47f12864c4aee2fab635a774fc8c3f0e2c18d /gcc/optc-gen.awk
parentd738149002360409821215e5126a305233c90c3d (diff)
downloadgcc-1df76a7982581c4557b57ee92d80eff2c7001ede.tar.gz
gcc/
* optc-gen.awk: Assign all remaining fields to help string, space-separated, for multi-line help in *.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optc-gen.awk')
-rw-r--r--gcc/optc-gen.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk
index 2e220164cfc..6844bd64586 100644
--- a/gcc/optc-gen.awk
+++ b/gcc/optc-gen.awk
@@ -53,6 +53,8 @@ BEGIN {
opts[n_opts] = $1
flags[n_opts] = $2
help[n_opts] = $3
+ for (i = 4; i <= NF; i++)
+ help[n_opts] = help[n_opts] " " $i
n_opts++;
}
}