[GRASS-SVN] r64173 - grass/trunk/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 14 07:22:55 PST 2015


Author: neteler
Date: 2015-01-14 07:22:54 -0800 (Wed, 14 Jan 2015)
New Revision: 64173

Modified:
   grass/trunk/general/g.parser/g.parser.html
Log:
g.parser manual: mention OR rules

Modified: grass/trunk/general/g.parser/g.parser.html
===================================================================
--- grass/trunk/general/g.parser/g.parser.html	2015-01-14 14:29:34 UTC (rev 64172)
+++ grass/trunk/general/g.parser/g.parser.html	2015-01-14 15:22:54 UTC (rev 64173)
@@ -112,6 +112,15 @@
 #%end
 </pre></div>
 
+The parser also allows to define "OR" conditions, e.g. requiring raster OR vector:
+
+<div class="code"><pre>
+#%rules
+#% requires: raster, vector
+#%end
+</pre></div>
+
+
 <h2>NOTES</h2>
 
 An option can be instructed to allow multiple inputs by adding the



More information about the grass-commit mailing list