Browse Source

g.parser manual: mention OR rules

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@64174 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 years ago
parent
commit
b657f1928a
1 changed files with 9 additions and 0 deletions
  1. 9 0
      general/g.parser/g.parser.html

+ 9 - 0
general/g.parser/g.parser.html

@@ -112,6 +112,15 @@ The syntax of the rules section is following:
 #%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