lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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.