Web lists-archives.com

util-linux: getopt: broken --name option for a while now




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