Subject: Re: RFC: getopt_long(3) change
To: Brian Ginsbach <ginsbach@NetBSD.org>
From: M Graff <explorer@flame.org>
List: tech-userlevel
Date: 06/26/2007 17:03:45
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I also found a problem when using some package (id3v2 I think) which has
options like:

	--list-frames
	--list-genres
	--list

The problem is, --list is treated as 'ambiguous' even though it is an
EXACT match.  Ideally, the code should search for an exact match first,
then resort to trying to find the only option that begins with that
string second.  It can remember strings it finds along the way, of
course, so the best match is always found without walking the list twice.

- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGgY1BuzMQWQwZDN0RAv97AJ0RNb6seJlC2sqLeamTmEeB8OLBwgCfc+OG
wO8rBVcAI1kZuKKIpZdxV6w=
=zqX8
-----END PGP SIGNATURE-----