I can't help with the getopt problem, but from a pure 'if I was going to have to use this' perspective:
How about: --list '4==100,8>1000,7<=15'. It's easier to type and clearer to read.
And leaves you the simple task of breaking up the parameter yourself rather than fighting with an undocumented and experimental feature.
In reply to Re: getopt long, named argument with multiple values
by BrowserUk
in thread getopt long, named argument with multiple values
by jmf11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |