mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 09:06:47 +08:00
toplev.c (independent_decode_option): Return success for --help, --target-help and --version.
* toplev.c (independent_decode_option): Return success for --help, --target-help and --version. From-SVN: r64209
This commit is contained in:
parent
b97dbcff50
commit
18a47d21ba
@ -1,3 +1,8 @@
|
||||
Tue Mar 11 21:19:03 2003 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* toplev.c (independent_decode_option): Return success for --help,
|
||||
--target-help and --version.
|
||||
|
||||
Tue Mar 11 20:20:14 2003 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
|
||||
|
@ -4408,18 +4408,21 @@ independent_decode_option (argc, argv)
|
||||
{
|
||||
display_help ();
|
||||
exit_after_options = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!strcmp (arg, "-target-help"))
|
||||
{
|
||||
display_target_options ();
|
||||
exit_after_options = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!strcmp (arg, "-version"))
|
||||
{
|
||||
print_version (stderr, "");
|
||||
exit_after_options = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Handle '--param <name>=<value>'. */
|
||||
|
Loading…
Reference in New Issue
Block a user