[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to getopt?
- From: Cheusov Aleksey <cheusov@...>
- Date: Fri, 24 Dec 2010 01:48:42 +0200
> 2) Split at the first '=', creating two strings 'name' and 'value'. If
> there is no '=', name = the entire string, value = nil.
This will break POSIX compatibility.
The main goal of alt-getopt was to implement POSIX compatible options
handling as well as to provide GNU/BSD long options.
hint: alt-getopt has lots of regression tests.