getopt: for ambiguous options, enumerate the possibilities.
authorJames Youngman <jay@gnu.org>
Thu, 26 May 2011 00:45:13 +0000 (01:45 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 26 May 2011 14:56:45 +0000 (08:56 -0600)
commit70aa91cc187065c920bb3205e65339a1897a6cfc
tree66fc4b251d0e01dead3e1053800ca35f7ed36cc0
parent1622b36b4ae889ea79ddc444e86fea31cd91755b
getopt: for ambiguous options, enumerate the possibilities.

* lib/getopt.c (_getopt_internal_r): Merge glibc change printing
the ambiguous options when an ambiguous prefix is given. This was
http://sourceware.org/bugzilla/show_bug.cgi?id=7101.  The merged
glibc change was
http://sourceware.org/git/?p=glibc.git;a=commit;h=bd25564e1e98910ed69043ed6a6f884ce60e5780.
ChangeLog
lib/getopt.c