diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2006-09-29 12:25:31 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2006-09-29 12:25:31 +0000 |
commit | 01b1e048d9d48800b1be2daf52247fcea260c0e8 (patch) | |
tree | c138a3554b65add9849cd2fa8886f645a93016e1 | |
parent | 8b641d414553eff5f9f6948cfa01bb5820899b93 (diff) | |
download | binutils-redhat-01b1e048d9d48800b1be2daf52247fcea260c0e8.tar.gz |
* ar.c (usage): Pass s to list_supported_targets.
* cxxfilt.c (usage): Print bug url when giving help.
-rw-r--r-- | ChangeLog.csl | 6 | ||||
-rw-r--r-- | binutils/ar.c | 2 | ||||
-rw-r--r-- | binutils/cxxfilt.c | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 8fcce895bb..7c1b55f3de 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,9 @@ +2006-09-29 Nathan Sidwell <nathan@codesourcery.com> + + binutils/ + * ar.c (usage): Pass s to list_supported_targets. + * cxxfilt.c (usage): Print bug url when giving help. + 2006-09-28 Mark Shinwell <shinwell@codesourcery.com> include/ diff --git a/binutils/ar.c b/binutils/ar.c index fe1c640222..3b5123d9ab 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -257,7 +257,7 @@ usage (int help) -V --version Print version information\n")); } - list_supported_targets (program_name, stderr); + list_supported_targets (program_name, s); if (help) fprintf (s, _("Report bugs to %s\n"), REPORT_BUGS_TO); diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c index a8ec43ba11..ee5d8e44db 100644 --- a/binutils/cxxfilt.c +++ b/binutils/cxxfilt.c @@ -115,6 +115,8 @@ Options are:\n\ Demangled names are displayed to stdout.\n\ If a name cannot be demangled it is just echoed to stdout.\n\ If no names are provided on the command line, stdin is read.\n"); + if (status == 0) + fprintf (stream, _("Report bugs to %s.\n"), REPORT_BUGS_TO); exit (status); } |