Support for variable number of arguments in popt

2011-09-07 Thread Christian Schmidt
Hi, I'm trying to parse a command line that can contain multiple variable number of arguments for a parameter, e.g. program -r /dev/sda /dev/sdb -m /dev/sdc /dev/sdd -b 16m ... The reason for the space separated lists is simply shell expansion. Given existing device nodes you could write

Re: Support for variable number of arguments in popt

2011-09-07 Thread Jeff Johnson
On Sep 7, 2011, at 4:44 AM, Christian Schmidt wrote: Hi, I'm trying to parse a command line that can contain multiple variable number of arguments for a parameter, e.g. program -r /dev/sda /dev/sdb -m /dev/sdc /dev/sdd -b 16m … Traditionally, uglix was designed with the model