[GRASS-dev] module header definitions add: text/multiline and latex support?

Markus Neteler neteler at osgeo.org
Thu Jan 15 00:50:13 PST 2015


On Thu, Jan 15, 2015 at 9:37 AM, Moritz Lennert
<mlennert at club.worldonline.be> 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


More information about the grass-dev mailing list