* options.cc: Include "../bfd/bfdver.h".

(options::help): Print bug reporting address.
This commit is contained in:
Ian Lance Taylor 2008-03-25 23:48:25 +00:00
parent f4b2c6f5d1
commit 819d6c3aea
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2008-03-25 Ian Lance Taylor <iant@google.com>
* options.cc: Include "../bfd/bfdver.h".
(options::help): Print bug reporting address.
* version.cc (print_version): Adjust output for current value of
BFD_VERSION_STRING.

View File

@ -29,6 +29,7 @@
#include "filenames.h"
#include "libiberty.h"
#include "demangle.h"
#include "../bfd/bfdver.h"
#include "debug.h"
#include "script.h"
@ -153,6 +154,11 @@ help()
++p)
printf(" %s", *p);
printf("\n");
// REPORT_BUGS_TO is defined in bfd/bfdver.h.
const char* report = REPORT_BUGS_TO;
if (*report != '\0')
printf(_("Report bugs to %s\n"), report);
}
// For bool, arg will be NULL (boolean options take no argument);