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

2018-12-07 Thread Andrey Repin
Greetings, Houder! > On Fri, 7 Dec 2018 02:56:50, Andrey Repin wrote: >> 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 optio

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

2018-12-07 Thread Houder
On Fri, 7 Dec 2018 02:56:50, Andrey Repin wrote: > 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: >

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

2018-12-06 Thread Andrey Repin
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.2