PATCH: Support "@file"
Nick Clifton
nickc@redhat.com
Fri Sep 30 15:47:00 GMT 2005
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
More information about the Binutils
mailing list