<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 2:46 AM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> Requiring raster OR vector is possible already.<br>
><br>
> #%rules<br>
> #% requires: raster, vector<br>
> #%end<br>
<br>
</span>This should be "required" (at least one of the options must be given).<br>
If you want exactly one option to be given, you need both "required"<br>
and "exclusive", e.g.<br>
<br>
#%rules<br>
#% required: raster, vector<br>
#% exclusive: raster, vector<br>
#%end<br>
<br>
A "requires" rule indicates that if the first option is given, at<br>
least one of the other options must be given.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>You're right. I was thinking about "required", but my hands typed "requires" :-(</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>