]> git.ipfire.org Git - thirdparty/gcc.git/commit
Postpone print of --help=* option.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2019 08:16:12 +0000 (08:16 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2019 08:16:12 +0000 (08:16 +0000)
commit6332f6532c7026defa8e2d0d9c2d7a695a6a4231
tree1fa0518e606198867e6361602184e0b1795ca3db
parent92db0cce0ffab783d8e3aa4375aafb684df059ba
Postpone print of --help=* option.

2019-05-02  Martin Liska  <mliska@suse.cz>

* gcc.c (process_command): Add dummy file only
if n_infiles == 0.
* opts-global.c (decode_options): Pass lang_mask.
* opts.c (print_help): New function.
(finish_options): Print --help if help_option_argument
is set.
(common_handle_option): Factor out content of OPT__help_
into print_help.
* opts.h (finish_options): Add new argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270788 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c
gcc/opts-global.c
gcc/opts.c
gcc/opts.h