On 3/22/13 3:14 PM, "Axel Jacobs" <[email protected]> wrote:


>This is fixable, and I'd be happy to do this. To my excuse, however, I
>must say that the arg parser in any of the csh scripts in Radiance, and
>probably in many of the Perl scripts, too, is not terribly
>sophisticated. It does its job, but not all possible errors are caught.


Agreed, I will say that Ruby has a nice class for this stuff, but in the
end it's probably not much more robust than whatever Perl's got going on.

>Existing Perl parsers are good with -s or --short-option style things.
>When you throw -a+ vs -a- at them, they just give up. Making this work
>properly is a helluva job.
>
>So should -spec be treated as -pal spec (probably not), or should it
>throw up a more meaningful error message e.g. 'deprecated'?

I vote a deprecated error, along with a pointer to the newer -pal option &
syntax. 

Thanks Axel!

- Rob


_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to