Like for example
$ myexecutable --iter 1 --inputfiles test1.dat test2.dat test3.dat
--random 1

Here --inputfiles option should be able to take up multiple values ( in
this case *.dat). This is the problem and I am trying to implement it using
argp (as it automates some options like --usage and --help).

Note that --iter and random options takes one value each and is straight
forward to implement.

Please let me know
Thanks
regardsm
Krishna

On Tue, Jan 6, 2015 at 4:53 PM, Shakthi Kannan <shakthim...@gmail.com>
wrote:

> Hi,
>
> --- On Tue, Jan 6, 2015 at 4:48 PM, km <srikrishnamo...@gmail.com> wrote:
> | How do I implement arguments that take multiple values -
> \--
>
> Can you give an example?
>
> You might want to look at Chapter 2 from 'Advanced Linux Programming':
>
>
> http://www.advancedlinuxprogramming.com/alp-folder/alp-ch02-writing-good-gnu-linux-software.pdf
>
> I'd encourage you to read the book as well.
>
>   http://www.advancedlinuxprogramming.com/alp-folder/
>
> SK
>
> --
> Shakthi Kannan
> http://www.shakthimaan.com
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to