Re: getopt: checking exlusive options?

2013-07-23 Thread Daniel Santos
On 07/23/2013 10:55 AM, Bernhard Voelker wrote: Is there already something available in gnulib like err_exclusive_options() in util-linux [1] to automatically catch mutual exclusiveness of options inside the getopt loop? After spending an inordinate amount of time experimenting with gcc's comp

Re: getopt: checking exlusive options?

2013-07-23 Thread Daniel Santos
On 07/23/2013 04:24 PM, Daniel Santos wrote: On 07/23/2013 10:55 AM, Bernhard Voelker wrote: Is there already something available in gnulib like err_exclusive_options() in util-linux [1] to automatically catch mutual exclusiveness of options inside the getopt loop? After spending an

Re: getopt: checking exlusive options?

2013-07-23 Thread Daniel Santos
On 07/23/2013 05:01 PM, Daniel Santos wrote: On 07/23/2013 04:24 PM, Daniel Santos wrote: On 07/23/2013 10:55 AM, Bernhard Voelker wrote: Is there already something available in gnulib like err_exclusive_options() in util-linux [1] to automatically catch mutual exclusiveness of options inside

Re: getopt: checking exlusive options?

2013-07-23 Thread Daniel Santos
On 07/23/2013 11:03 PM, Eric Blake wrote: On 07/23/2013 04:01 PM, Daniel Santos wrote: On 07/23/2013 04:24 PM, Daniel Santos wrote: On 07/23/2013 10:55 AM, Bernhard Voelker wrote: Is there already something available in gnulib like err_exclusive_options() in util-linux [1] to automatically