From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10664 invoked by alias); 7 Dec 2018 00:05:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10646 invoked by uid 89); 7 Dec 2018 00:05:16 -0000 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 Received: from forward101p.mail.yandex.net (HELO forward101p.mail.yandex.net) (77.88.28.101) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Dec 2018 00:05:05 +0000 Received: from mxback21o.mail.yandex.net (mxback21o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::72]) by forward101p.mail.yandex.net (Yandex) with ESMTP id F25A932800DF for ; Fri, 7 Dec 2018 03:05:01 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback21o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9rjjwEZk3K-51vSQiLe; Fri, 07 Dec 2018 03:05:01 +0300 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= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 7A3kJPnCMi-51iSDOkY; Fri, 07 Dec 2018 03:05:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) 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 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 06 Dec 2018 23:56:50 -0000 Date: Fri, 07 Dec 2018 00:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1655264599.20181207025650@yandex.ru> To: All 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 X-SW-Source: 2018-12/txt/msg00073.txt.bz2 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