lua-users home
lua-l archive

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

On 30 October 2011 16:29, Farmbuyer <> wrote:
> On Sat, Oct 29, 2011 at 1:28 AM, HyperHacker <> wrote:
>> Well, I've seen a number of programs that have an option like "-v
>> verbose (repeat for more verbosity), but they usually write that as
>> -vv rather than -v -v...
> Same here.  Unfortunately, the option parsing for luac is extremely
> simple, and cannot handle multiple-character options.  Moving to
> something like getopt(3) would potentially limit portability, and
> probably bloat the resulting program as well.  It's a tradeoff.

While we're on the subject (and no, I didn't know about -l -l either,
I'll be using it a lot now)...

Why does -l not imply -p? Is it really a common case that you want to
list /and/ compile? Maybe it's just me.