X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=yK38TowutWoFmq7YodCNlFTa9AtWX16aiHc6Z03VeRcpT9UDuSj9U diXNn5hS1P2NZMcNyQSrbICcJThPKgf0XRvur1+S2YPKj0+5nt4DVBNQ8KYV4TU3 u7wiEIblkW7MhVsM5vgwA8V2+0UFU/D4gyXT1maJ0eENIbZmhkcyd8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=244Im6r+a2RbzBTA+DPsNwtyF2s=; b=tbxHob/GhMGj3HILvkurlcJkYruS ufuawFlg+Cj5i0/dbN2KXaoMZM7QF7LIqLPoPmjcCd6OKDgfyoOvjHPM1UHe4qfO 6VE0UPHZglLBerION5Zt6Gdst0aP7kzgek/j3aLND7d8ranRkLB3zxClxNxxAVVV OXXVM+EmA/uNi4w= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=HX-Priority:Normal, thoroughly, H*RU:192.168.1.10, H*r:ip*192.168.1.10 X-HELO: forward101p.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1544141101; bh=efl5jtDoh5ihdmwZ4yFKKVvqFLu/XkmBM3FcVmxtrzk=; h=Date:From:Reply-To:Message-ID:To:Subject; b=VFs4NrCGn+kp41GtrJGwN0U1hV2Gh3zenD6aF+v2+TxFvDghm+IDSkph/Lkc67pBZ H9qOUSj65YVrinOBbPzcZ1yYusE79tavVLNEoiyYvjKwEqOuXWSE8WkhnTVxFeF0LN YM+2WbRjATV+rf++dIm9sM5I45IAIr6q5ECg4zLU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1544141101; bh=efl5jtDoh5ihdmwZ4yFKKVvqFLu/XkmBM3FcVmxtrzk=; h=Date:From:Reply-To:Message-ID:To:Subject; b=VFs4NrCGn+kp41GtrJGwN0U1hV2Gh3zenD6aF+v2+TxFvDghm+IDSkph/Lkc67pBZ H9qOUSj65YVrinOBbPzcZ1yYusE79tavVLNEoiyYvjKwEqOuXWSE8WkhnTVxFeF0LN YM+2WbRjATV+rf++dIm9sM5I45IAIr6q5ECg4zLU= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Fri, 7 Dec 2018 02:56:50 +0300 From: Andrey Repin <anrdaemon AT yandex DOT ru> Reply-To: cygwin AT cygwin DOT com Message-ID: <1655264599.20181207025650@yandex.ru> To: All <cygwin AT cygwin DOT com> Subject: util-linux: getopt: broken --name option for a while now MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, All! This has been plaguing me for several years, but only now I got to test it more thoroughly. Shame on me. $ /usr/bin/getopt --options '+H' --shell sh --name x -- -d getopt: unknown option -- d Expected output: x: unknown option -- d $ /usr/bin/getopt -V getopt from util-linux 2.25.2 Poked around, getopt from 2.20.1, 2.27.1, 2.31.1 and (reportedly)2.33 works as expected. Is there a chance for an update? -- With best regards, Andrey Repin Friday, December 7, 2018 2:51:20 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple