[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luac -l -l
- From: Matthew Wild <mwild1@...>
- Date: Sun, 30 Oct 2011 16:43:53 -0400
On 30 October 2011 16:29, Farmbuyer <farmbuyer@gmail.com> wrote:
> On Sat, Oct 29, 2011 at 1:28 AM, HyperHacker <hyperhacker@gmail.com> 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.
Regards,
Matthew