This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Support "@file"


Hi Mark,

Here's a (boring) patch that makes binutils programs support "@file"
arguments by using the new expandargv function in libiberty.  Is this
OK to apply?

Yes, please do.


Where should documentation for the "@file" argument go?

In the linker doc file (ld/ld.texinfo), the binutils doc file (binutils/doc/binutils.texi) *and* the --help output of these programs. (Submitting a separate patch to do this is acceptable).


Question: is there any reason why you did not update GAS to use this feature as well ? What about gprof too ?

Should I add
it to the list of options for every program in the binutils manual?
Or, add a section up front with common options, of which this will be
the only one?  Or...?

Your choice. If you create a "common options" section you could also put --version and --help in there, and maybe --verbose. (Not sure if all commands accept it).


Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]