[GRASS-SVN] r42427 - grass/branches/develbranch_6/raster/r.reclass

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 1 16:32:42 EDT 2010


Author: martinl
Date: 2010-06-01 16:32:41 -0400 (Tue, 01 Jun 2010)
New Revision: 42427

Modified:
   grass/branches/develbranch_6/raster/r.reclass/main.c
Log:
r.reclass: module description cosmetics


Modified: grass/branches/develbranch_6/raster/r.reclass/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.reclass/main.c	2010-06-01 20:26:15 UTC (rev 42426)
+++ grass/branches/develbranch_6/raster/r.reclass/main.c	2010-06-01 20:32:41 UTC (rev 42427)
@@ -7,7 +7,7 @@
  *               Hamish Bowman <hamish_b yahoo.com>, Jan-Oliver Wagner <jan intevation.de>,
  *               Markus Neteler <neteler itc.it>
  * PURPOSE:      
- * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team
+ * COPYRIGHT:    (C) 1999-2006, 2010 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
@@ -46,23 +46,23 @@
     G_gisinit(argv[0]);
 
     module = G_define_module();
-    module->keywords = _("raster");
+    module->keywords = _("raster, reclassification");
+    module->label = _("Reclassify raster map based on category values.");
     module->description =
-	_("Creates a new map layer whose category values are based "
+	_("Creates a new raster map whose category values are based "
 	  "upon a reclassification of the categories in an existing "
-	  "raster map layer.");
-
+	  "raster map.");
+    
     parm.input = G_define_standard_option(G_OPT_R_INPUT);
     parm.input->description = _("Raster map to be reclassified");
 
     parm.output = G_define_standard_option(G_OPT_R_OUTPUT);
 
-    parm.rules = G_define_option();
+    parm.rules = G_define_standard_option(G_OPT_F_INPUT);
     parm.rules->key = "rules";
-    parm.rules->type = TYPE_STRING;
     parm.rules->description = _("File containing reclass rules");
-    parm.rules->key_desc = "name";
-    parm.rules->gisprompt = "old_file,file,input";
+    parm.rules->required = NO;
+    parm.rules->guisection = _("Required");
 
     parm.title = G_define_option();
     parm.title->key = "title";



More information about the grass-commit mailing list