[GRASS-SVN] r71991 - grass/trunk/raster/r.path
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 28 13:26:07 PST 2017
Author: mmetz
Date: 2017-12-28 13:26:07 -0800 (Thu, 28 Dec 2017)
New Revision: 71991
Modified:
grass/trunk/raster/r.path/main.c
grass/trunk/raster/r.path/r.path.html
Log:
r.path: fix manual
Modified: grass/trunk/raster/r.path/main.c
===================================================================
--- grass/trunk/raster/r.path/main.c 2017-12-28 07:08:31 UTC (rev 71990)
+++ grass/trunk/raster/r.path/main.c 2017-12-28 21:26:07 UTC (rev 71991)
@@ -143,13 +143,14 @@
opt1 = G_define_standard_option(G_OPT_R_INPUT);
opt1->label = _("Name of input direction");
opt1->description =
- _("Direction in degrees CCW from east, or bitmask encoded (-b flag)");
+ _("Direction in degrees CCW from east, or bitmask encoded");
dfopt = G_define_option();
dfopt->type = TYPE_STRING;
dfopt->key = "format";
dfopt->label = _("Format of the input direction map");
dfopt->required = YES;
+ dfopt->options = "auto,degree,45degree,bitmask";
dfopt->answer = "auto";
G_asprintf(&desc,
"auto;%s;degree;%s;45degree;%s;bitmask;%s",
Modified: grass/trunk/raster/r.path/r.path.html
===================================================================
--- grass/trunk/raster/r.path/r.path.html 2017-12-28 07:08:31 UTC (rev 71990)
+++ grass/trunk/raster/r.path/r.path.html 2017-12-28 21:26:07 UTC (rev 71991)
@@ -70,7 +70,7 @@
</pre></div>
i.e. a cell with the value 135 means the next cell is to the North-West,
and a cell with the value 157.5 means that the next cell is to the
-West-North-West-
+West-North-West.
<h2>EXAMPLES</h2>
More information about the grass-commit
mailing list