From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 22BFD389851D; Tue, 13 Jul 2021 07:34:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 22BFD389851D From: "mlichvar at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug argparse/28081] getopt_long doesn't return error on ambiguous option Date: Tue, 13 Jul 2021 07:34:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: argparse X-Bugzilla-Version: 2.33 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: mlichvar at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: NOTABUG X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2021 07:34:29 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28081 --- Comment #4 from Miroslav Lichvar --- Ok, if you don't plan to fix this issue, it would be good to have it descri= bed in the getopt_long() man page, or at least fix the example it contains to n= ot use the same val for different options, so new projects are less likely to = fall into this trap. I'll see if I can submit a patch for the man pages. --=20 You are receiving this mail because: You are on the CC list for the bug.=