> Wouldn't it be better if this was displayed with --help instead?

   That's what I wanted to do initially, but then I thought that this
   would make help output too copious.  Perhaps the best way would be
   to output a short list of available formats (without docstrings)
   with --help, and let the user obtain more verbose help on each
   format with --format=help. What do you think?

A short list without the docstrings is I think the way to go,
something like:

# ld --help
Usage: ld [options] file...
...
ld: supported targets: elf32-i386 a.out-i386-linux pei-i386 elf32-little 
elf32-big srec symbolsrec verilog tekhex binary ihex trad-core
...
#

Keeping --format=help is a good idea.

   > And the --verbose stuff, I think that should be in the manual.

   Yes, sure. But I planned to do that after I'm finished with the
   modifications (I've got some unfinished improvements of format
   engine in my local tree).

Super, keep the onslaught coming! :-)


Reply via email to