[GRASS-SVN] r68072 - grass/trunk/scripts/r.rgb

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 16 13:21:46 PDT 2016


Author: wenzeslaus
Date: 2016-03-16 13:21:46 -0700 (Wed, 16 Mar 2016)
New Revision: 68072

Modified:
   grass/trunk/scripts/r.rgb/r.rgb.py
Log:
r.rgb: at least one of rgb is required (avoid r.mapcalc parse error later)

Modified: grass/trunk/scripts/r.rgb/r.rgb.py
===================================================================
--- grass/trunk/scripts/r.rgb/r.rgb.py	2016-03-16 20:18:14 UTC (rev 68071)
+++ grass/trunk/scripts/r.rgb/r.rgb.py	2016-03-16 20:21:46 UTC (rev 68072)
@@ -35,6 +35,9 @@
 #% description: Blue channel raster map name
 #% required: no
 #%end
+#%rules
+#% required: red, green, blue
+#%end
 
 import grass.script as gscript
 



More information about the grass-commit mailing list