[GRASS-SVN] r44338 - in grass/branches/develbranch_6: lib/gis raster/r.mfilter

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 15 17:48:22 EST 2010


Author: martinl
Date: 2010-11-15 14:48:22 -0800 (Mon, 15 Nov 2010)
New Revision: 44338

Modified:
   grass/branches/develbranch_6/lib/gis/parser.c
   grass/branches/develbranch_6/raster/r.mfilter/main.c
Log:
r.mfilter: cosmetics in module description
	   minor changes in G_OPT_F


Modified: grass/branches/develbranch_6/lib/gis/parser.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/parser.c	2010-11-15 21:40:23 UTC (rev 44337)
+++ grass/branches/develbranch_6/lib/gis/parser.c	2010-11-15 22:48:22 UTC (rev 44338)
@@ -631,18 +631,18 @@
     case G_OPT_F_INPUT:
 	Opt->key = "input";
 	Opt->type = TYPE_STRING;
-	Opt->key_desc = "name";
+	Opt->key_desc = "path";
 	Opt->required = YES;
 	Opt->gisprompt = "old_file,file,input";
-	Opt->description = _("Name of input file");
+	Opt->description = _("Path to input file");
 	break;
     case G_OPT_F_OUTPUT:
 	Opt->key = "output";
 	Opt->type = TYPE_STRING;
-	Opt->key_desc = "name";
+	Opt->key_desc = "path";
 	Opt->required = YES;
 	Opt->gisprompt = "new_file,file,output";
-	Opt->description = _("Name for output file");
+	Opt->description = _("Path for output file");
 	break;
     case G_OPT_F_SEP:
 	Opt->key = "fs";

Modified: grass/branches/develbranch_6/raster/r.mfilter/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.mfilter/main.c	2010-11-15 21:40:23 UTC (rev 44337)
+++ grass/branches/develbranch_6/raster/r.mfilter/main.c	2010-11-15 22:48:22 UTC (rev 44338)
@@ -7,7 +7,7 @@
  *               Glynn Clements <glynn gclements.plus.com>, Jachym Cepicky <jachym les-ejk.cz>,
  *               Jan-Oliver Wagner <jan intevation.de>
  * 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
@@ -49,7 +49,7 @@
 
     module = G_define_module();
     module->keywords = _("raster, map algebra");
-    module->description = _("Raster map matrix filter.");
+    module->description = _("Performs raster map matrix filter.");
 
     /* Define the different options */
 
@@ -60,7 +60,7 @@
     opt3 = G_define_standard_option(G_OPT_F_INPUT);
     opt3->key = "filter";
     opt3->required = YES;
-    opt3->description = _("Name of filter file");
+    opt3->description = _("Path to filter file");
 
     opt4 = G_define_option();
     opt4->key = "repeat";
@@ -69,7 +69,8 @@
     opt4->required = NO;
     opt4->answer = "1";
     opt4->description = _("Number of times to repeat the filter");
-
+    opt4->guisection = _("Filter");
+    
     opt5 = G_define_option();
     opt5->key = "title";
     opt5->type = TYPE_STRING;
@@ -92,6 +93,7 @@
     flag2 = G_define_flag();
     flag2->key = 'z';
     flag2->description = _("Apply filter only to zero data values");
+    flag2->guisection = _("Filter");
 
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);



More information about the grass-commit mailing list