Bug 12325

Summary: ar --target isn't documented
Product: binutils Reporter: H.J. Lu <hjl.tools>
Component: binutilsAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: nickc
Priority: P2    
Version: 2.22   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:

Description H.J. Lu 2010-12-15 19:29:08 UTC
--target option was added to ar. But it isn't documented and
"ar --help" doesn't show the new option.
Comment 1 Sourceware Commits 2011-07-01 15:02:26 UTC
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
Comment 2 Nick Clifton 2011-07-01 15:04:48 UTC
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