Joel Brobecker 11eef9ed35 ppc sim: Improve invalid option error message
This patch improves the error message when an invalid option is
detected, by also printing the option that actually caused the error.
For instance, from GDB:

        (gdb) target sim --hello
        Invalid option: --hello
        Usage:
        [...]

We also added the usage after an invalid long-name option (Eg: --hello)
to be in line with what's being done for all other invalid options
being detected.

sim/ppc/ChangeLog:

        * psim.c (psim_options): Add option that cause the error
        in invalid-option error messages. Print the usage when
        detecting an invalid long-name option.
2011-06-08 16:44:28 +00:00
..
2011-05-27 18:05:16 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-02-14 05:14:28 +00:00
2011-02-14 05:14:28 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-02-14 05:14:28 +00:00
2011-01-01 15:34:07 +00:00
2011-02-14 05:14:28 +00:00
2011-01-05 17:17:44 +00:00
2011-06-04 17:44:22 +00:00
2011-06-04 17:44:22 +00:00
2011-06-04 17:44:22 +00:00
2011-03-06 00:20:21 +00:00
2011-01-01 15:34:07 +00:00
2010-04-12 21:44:46 +00:00