--target option was added to ar. But it isn't documented and "ar --help" doesn't show the new option.
CVSROOT: /cvs/src Module name: src Changes by: nickc@sourceware.org 2011-07-01 15:02:22 Modified files: binutils : ChangeLog binutils/doc : binutils.texi Log message: PR binutils/12325 * doc/binutils.texi (ar cmdline): Document --target, --version and --help command line options. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1815&r2=1.1816 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/doc/binutils.texi.diff?cvsroot=src&r1=1.179&r2=1.180
Hi H.J. The --help output does include a mention of --target, and the selection of targets that it supports. You were correct however in noting that the documentation did not mention this option. I have checked in a patch to address this failing, and at the same time include a mention of the --help and --version command line options. Cheers Nick