Re: gnulib-tool.py argument parsing

2017-09-09 Thread Dmitry Selyutin
Hi Bruno, to be honest, the command-line parsing in the gnulib-tool.py certainly sucks. I'm creating a new command-line parser from the scratch, and it works like charm. For example, it is much easier to avoid the error you described. I'll take a look on how to fix the current parser and try to co

gnulib-tool.py argument parsing

2017-09-08 Thread Bruno Haible
Hi Dmitry, I'm banging my head against this: $ ./gnulib-tool.py --test dirent $ ./gnulib-tool.py --test --destdir=../testdir-dirent dirent usage: gnulib-tool.py --help ./gnulib-tool.py: error: unrecognized arguments: dirent The argument parsing conventions for POSIX/GNU programs dist