This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug argparse/22939] unintended change of getopt_long_only error message breaks third party tests
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 20 Mar 2018 17:02:38 +0000
- Subject: [Bug argparse/22939] unintended change of getopt_long_only error message breaks third party tests
- Auto-submitted: auto-generated
- References: <bug-22939-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22939
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
On the other hand, the new message follows the spelling of the argument:
$ getopt -a -n TEST -o 'a,b,c' -l 'caa:,cba:' -- --c='AAA'
TEST: option '--c=AAA' is ambiguous; possibilities: '--caa' '--cba'
-caa is a completion of -c and --caa is a completion of --c, but not the other
way round.
--
You are receiving this mail because:
You are on the CC list for the bug.