This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: argp: modified behaviour for empty group header
- From: Alex Regueiro <alexreg at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 8 Jan 2015 00:10:38 +0000
- Subject: Re: argp: modified behaviour for empty group header
- Authentication-results: sourceware.org; auth=none
- References: <AC9FE68B-A824-4304-84B7-192688973D57 at gmail dot com> <20150108000916 dot 8CB1A2C3B8E at topped-with-meat dot com>
Absolutely, but a blank (note: not NULL) line should be respected, instead of ignored, I'd think. There's no reason to include them unless they do something, really. And this additional behaviour would seem useful to me.
> On 8 Jan 2015, at 00:09, Roland McGrath <roland@hack.frob.com> wrote:
>
> I think the current behavior is what's intended. When there is no group
> header line, the purpose of groups is to change the order of options
> in --help output.