On Tuesday 04 February 2014 20:02:08 you wrote:
> > So how about, cme returns:
> > - 0 if no errors and no warnings
> > - 1 if warnings
> > - 2 if errors (configuration)
> > - 3 for other errors (bad option, model error or whatever)
> > 
> > Does that make sense ?
> > 
> > All the best
> 
> Yes, it's ok.

Unfortunately, controlling exit status with Exception::Class in a portable way 
turns out to be rather difficult. 

The easy way out is to add a '-strict' option to cme. When -strict is set, cme 
will exit 1 when warnings are found during a check.

Is this fine ?

All the best

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to