[GRASS-SVN] r54660 - grass/trunk/raster/r.kappa
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 16 01:50:13 PST 2013
Author: martinl
Date: 2013-01-16 01:50:12 -0800 (Wed, 16 Jan 2013)
New Revision: 54660
Modified:
grass/trunk/raster/r.kappa/main.c
Log:
r.kappa: more guisections
Modified: grass/trunk/raster/r.kappa/main.c
===================================================================
--- grass/trunk/raster/r.kappa/main.c 2013-01-16 09:45:31 UTC (rev 54659)
+++ grass/trunk/raster/r.kappa/main.c 2013-01-16 09:50:12 UTC (rev 54660)
@@ -67,9 +67,10 @@
module = G_define_module();
G_add_keyword(_("raster"));
G_add_keyword(_("statistics"));
+ G_add_keyword(_("classification"));
module->description =
- _("Calculate error matrix and kappa "
- "parameter for accuracy assessment of classification " "result.");
+ _("Calculates error matrix and kappa "
+ "parameter for accuracy assessment of classification result.");
parms.map = G_define_standard_option(G_OPT_R_INPUT);
parms.map->key = "classification";
@@ -83,8 +84,10 @@
parms.output = G_define_standard_option(G_OPT_F_OUTPUT);
parms.output->required = NO;
- parms.output->description =
+ parms.output->label =
_("Name for output file containing error matrix and kappa");
+ parms.output->description = _("If not given, print to startdard output");
+ parms.output->guisection = _("Output settings");
parms.titles = G_define_option();
parms.titles->key = "title";
@@ -92,15 +95,18 @@
parms.titles->required = NO;
parms.titles->description = _("Title for error matrix and kappa");
parms.titles->answer = "ACCURACY ASSESSMENT";
+ parms.titles->guisection = _("Output settings");
flags.w = G_define_flag();
flags.w->key = 'w';
flags.w->label = _("Wide report");
flags.w->description = _("132 columns (default: 80)");
+ flags.w->guisection = _("Formatting");
flags.h = G_define_flag();
flags.h->key = 'h';
flags.h->description = _("No header in the report");
+ flags.h->guisection = _("Formatting");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list