[GRASS-SVN] r44341 - in grass/trunk: lib/gis raster/r.mfilter
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 15 17:57:30 EST 2010
Author: martinl
Date: 2010-11-15 14:57:29 -0800 (Mon, 15 Nov 2010)
New Revision: 44341
Modified:
grass/trunk/lib/gis/parser_standard_options.c
grass/trunk/raster/r.mfilter/main.c
Log:
r.mfilter: cosmetics in module description
minor changes in G_OPT_F
(merge r44338 from devbr6)
Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c 2010-11-15 22:57:16 UTC (rev 44340)
+++ grass/trunk/lib/gis/parser_standard_options.c 2010-11-15 22:57:29 UTC (rev 44341)
@@ -422,18 +422,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/trunk/raster/r.mfilter/main.c
===================================================================
--- grass/trunk/raster/r.mfilter/main.c 2010-11-15 22:57:16 UTC (rev 44340)
+++ grass/trunk/raster/r.mfilter/main.c 2010-11-15 22:57:29 UTC (rev 44341)
@@ -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
@@ -55,7 +55,7 @@
module = G_define_module();
G_add_keyword(_("raster"));
G_add_keyword(_("map algebra"));
- module->description = _("Raster map matrix filter.");
+ module->description = _("Performs raster map matrix filter.");
/* Define the different options */
@@ -66,7 +66,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";
@@ -75,7 +75,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;
@@ -93,6 +94,7 @@
flag2 = G_define_flag();
flag2->key = 'z';
flag2->description = _("Apply filter only to null data values");
+ flag2->guisection = _("Filter");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list