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


>>>>> "Marc" == Marc Feeley <feeley@xxxxxxxxxxxxxxxx> writes:

>>>>>>> "felix" == felix  <felixundduni@xxxxxxxxxx> writes:
felix> I have some trouble with the fact that an error in the invocation of
felix> "main" is supposed to return EX_USAGE. Specifically
felix> I have trouble thinking about a way to implement it in
felix> a not too arcane way. 
>> You're summing up my original reservations about this issue.  I do
>> believe yielding the correct exit code is important, but I also would
>> slightly prefer to leave that responsibility to the programmer of the
>> script.
>> Marc, how about you step in here?

Marc> So my position is that only EX_SOFTWARE should be required by the
Marc> SRFI.  If the script author wants to support EX_USAGE, then she can
Marc> program it into the script explicitly (using a "main" with a rest
Marc> argument and appropriate logic).

I would hate to return something that we know to be wrong: Your
motivation, if I understood it correctly, for switching the
parameter-passing mode was to make doing the Right Thing for the
common case slightly easier.  I don't see that being the case here.

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla