* version.c (print_version): New function.
authorIan Lance Taylor <ian@airs.com>
Tue, 1 Oct 1996 19:10:40 +0000 (19:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 1 Oct 1996 19:10:40 +0000 (19:10 +0000)
commit7f924d5516cf55e069970c3aadb7a2e86f7e707a
tree7edc237e353db4139f2416ae622e80f9965a50f3
parent0b810a6ee0b12ade68680f149f167650390d80fc
* version.c (print_version): New function.
* bucomm.h (print_version): Declare.
* ar.c (program_version): Don't declare.
(do_show_version): Remove.
(usage): Add help parameter.  Print bug report address.
(main): Set is_ranlib at start.  Check for --help and --version.
Call print_version, not do_show_version.
* nlmconv.c (program_version): Don't declare.
(main): Call print_version.
(show_usage): Print bug report address.
* nm.c (program_version, print_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* objcopy.c (program_version): Don't declare.
(copy_usage): Print bug report address.
(strip_usage): Likewise.
(strip_main): Call print_version.
(copy_main): Likewise.
* objdump.c (program_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* size.c (program_version): Don't declare.
(usage): Print bug report address.
(main): Call print_version.
* strings.c (program_version): Don't declare.
(main): Call print_version.
(usage): Print bug report address.
* Makefile.in: Update dependencies.
binutils/ChangeLog
binutils/Makefile.in
binutils/ar.c
binutils/objdump.c