binutils/
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 29 Sep 2006 12:25:31 +0000 (12:25 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 29 Sep 2006 12:25:31 +0000 (12:25 +0000)
* ar.c (usage): Pass s to list_supported_targets.
* cxxfilt.c (usage): Print bug url when giving help.

ChangeLog.csl
binutils/ar.c
binutils/cxxfilt.c

index 8fcce89..7c1b55f 100644 (file)
@@ -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/
index fe1c640..3b5123d 100644 (file)
@@ -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);
index a8ec43b..ee5d8e4 100644 (file)
@@ -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);
 }