Commit 18a47d21 by Alexandre Oliva Committed by Alexandre Oliva

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
parent b97dbcff
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>'. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment