[GRASS-SVN] r39115 - grass/branches/develbranch_6/scripts/r.mask

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 10 12:42:56 EDT 2009


Author: martinl
Date: 2009-09-10 12:42:55 -0400 (Thu, 10 Sep 2009)
New Revision: 39115

Modified:
   grass/branches/develbranch_6/scripts/r.mask/r.mask
Log:
more gui sections
     (merge r39114 from trunk)


Modified: grass/branches/develbranch_6/scripts/r.mask/r.mask
===================================================================
--- grass/branches/develbranch_6/scripts/r.mask/r.mask	2009-09-10 15:58:41 UTC (rev 39114)
+++ grass/branches/develbranch_6/scripts/r.mask/r.mask	2009-09-10 16:42:55 UTC (rev 39115)
@@ -6,7 +6,7 @@
 # AUTHOR(S):	Michael Barton, Arizona State University
 #               Markus Neteler
 # PURPOSE:	    Facilitates creation of raster MASK using r.reclass
-# COPYRIGHT:	(C) 2005, 2007 by the GRASS Development Team
+# COPYRIGHT:	(C) 2005, 2007-2009 by the GRASS Development Team
 #
 #		This program is free software under the GNU General Public
 #		License (>=v2). Read the file COPYING that comes with GRASS
@@ -14,38 +14,40 @@
 #
 #############################################################################
 
-
-#%Module
-#%  description: Create a MASK for limiting raster operation
-#%  keywords: raster, mask
-#%End
+#%module
+#% description: Creates a mask for limiting raster operation.
+#% keywords: raster, mask
+#%end
 #%option
 #% key: input
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: Raster map to use as MASK
-#% required : no
-#%END
+#% description: Raster map to use as mask
+#% required: no
+#% guisection: Create
+#%end
 #%option
 #% key: maskcats
 #% type: string
-#% description: Category values to use for MASK (format: 1 2 3 thru 7 *)
+#% description: Category values to use for mask (format: 1 2 3 thru 7 *)
 #% answer: *
-#%END
+#% guisection: Create
+#%end
 #%flag
 #% key: i
-#% description: Create inverse MASK from specified 'maskcats' list
-#%END
+#% description: Create inverse mask from specified 'maskcats' list
+#% guisection: Create
+#%end
 #%flag
 #% key: o
 #% description: Overwrite existing MASK
-#%END
+#%end
 #%flag
 #% key: r
-#% description: Remove existing MASK (overrides other options)
-#%END
+#% description: Remove existing mask (overrides other options)
+#% guisection: Remove
+#%end
 
-
 if  [ -z "$GISBASE" ] ; then
  echo "You must be in GRASS GIS to run this program." >&2
  exit 1



More information about the grass-commit mailing list