[GRASS-SVN] r74435 - grass/branches/releasebranch_7_4/raster/r.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 28 06:49:34 PDT 2019


Author: neteler
Date: 2019-04-28 06:49:34 -0700 (Sun, 28 Apr 2019)
New Revision: 74435

Modified:
   grass/branches/releasebranch_7_4/raster/r.stats/main.c
   grass/branches/releasebranch_7_4/raster/r.stats/r.stats.html
Log:
r.stats: explain index start for -x; sync manual to trunk

Modified: grass/branches/releasebranch_7_4/raster/r.stats/main.c
===================================================================
--- grass/branches/releasebranch_7_4/raster/r.stats/main.c	2019-04-28 13:48:39 UTC (rev 74434)
+++ grass/branches/releasebranch_7_4/raster/r.stats/main.c	2019-04-28 13:49:34 UTC (rev 74435)
@@ -183,7 +183,8 @@
 
     flag.x = G_define_flag();
     flag.x->key = 'x';
-    flag.x->description = _("Print x and y (column and row)");
+    flag.x->label = _("Print x and y (column and row)");
+    flag.x->description = _("Indexing starts with 1: first column and row are 1");
     flag.x->guisection = _("Coordinates");
 
     flag.A = G_define_flag();

Modified: grass/branches/releasebranch_7_4/raster/r.stats/r.stats.html
===================================================================
--- grass/branches/releasebranch_7_4/raster/r.stats/r.stats.html	2019-04-28 13:48:39 UTC (rev 74434)
+++ grass/branches/releasebranch_7_4/raster/r.stats/r.stats.html	2019-04-28 13:49:34 UTC (rev 74435)
@@ -15,10 +15,11 @@
 
 <h2>NOTES</h2>
 
-If a single raster map is specified, a list of categories will be
-printed. If multiple raster maps are specified, a cross-tabulation
-table for each combination of categories in the raster maps will be
-printed.
+If a single raster map is specified, a list of categories will be printed.
+The <b>-x</b> flag will print x and y (column and row) starting with 1
+(both first row and first column are indexed with 1). If multiple raster maps
+are specified, a cross-tabulation table for each combination of categories in
+the raster maps will be printed.
 
 <p>
 For example, if one raster map was specified, the output would look like:



More information about the grass-commit mailing list