[m-dev.] Re: trivial diff: scripts/parse_grade_options.sh-subr bug fix

Tyson Dowd trd at cs.mu.OZ.AU
Tue Sep 22 13:07:27 AEST 1998


On 22-Sep-1998, Thomas Charles CONWAY <conway at cs.mu.OZ.AU> wrote:
> Fergus Henderson, you write:
> > The other issue is that I'm not sure what the right behaviour should be
> > in the case of multiple grade options: if you do `mmc --grade tr --grade fast'
> > should this give you grade `fast.tr' or just grade `fast'?
> > The documentation is not entirely clear on this issue.
> > I think the right answer is probably that the last `--grade' option
> > should completely override any previous `--grade' options.
> > 
> > Tom, could you please fix this one?
> > 
> 
> One question first:
> If I give `--use-trail --grade fast' what should the result be? Should a
> --grade option reset all the grade related options? Is this desirable?

There are two concepts you might want to consider
	- adding a grade element  (e.g. grade += fast)
	- overriding the grade completely (e.g. grade = fast)

It would be the usualy Mercury way to allow both ;-)

-- 
Those who would give up essential liberty to purchase a little temporary
safety deserve neither liberty nor safety.     - Benjamin Franklin

Tyson Dowd   <tyson at tyse.net>   http://tyse.net



More information about the developers mailing list