This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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] main.c (captured_main): Alphabetically sort long_options.


On Mon, Dec 6, 2010 at 12:22 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Doug" == Doug Evans <dje@google.com> writes:
>
> Doug> fyi, I will check this in in two days if there are no objections.
>
> It is fine by me.
>
> Doug> A good next step would be update --help output,
> Doug> but I was going to wait until after this goes in.
>
> FWIW I think --help output is most useful when it is broken into
> sections, and then sorting is applied in each section. ?See "tar" or
> "automake" for reasonable examples.

Yeah, good point.
If you compare --help output with the contents of long_options, you'll
see --help is in need of some TLC.


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