On Thu, Jan 15, 2015 at 9:37 AM, Moritz Lennert
<[email protected]> wrote:
> On 15/01/15 08:46, Glynn Clements wrote:
>>
>>
>>> Requiring raster OR vector is possible already.
>>>
>>> #%rules
>>> #% requires: raster, vector
>>> #%end
>>
>>
>> This should be "required" (at least one of the options must be given).
>> If you want exactly one option to be given, you need both "required"
>> and "exclusive", e.g.
>>
>> #%rules
>> #% required: raster, vector
>> #% exclusive: raster, vector
>> #%end
>>
>> A "requires" rule indicates that if the first option is given, at
>> least one of the other options must be given.
>>
>
> It would be great if all these options could be documented in the g.parser
> man page...

svn up :-)

I did that yesterday... based on Glynn's email.

http://trac.osgeo.org/grass/changeset/64180/grass/branches/releasebranch_7_0/general/g.parser

It may still be completed, of course.

Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to