Browse Source

r.path: fix manual

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71991 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 years ago
parent
commit
3178cd47f6
2 changed files with 3 additions and 2 deletions
  1. 2 1
      raster/r.path/main.c
  2. 1 1
      raster/r.path/r.path.html

+ 2 - 1
raster/r.path/main.c

@@ -143,13 +143,14 @@ int main(int argc, char **argv)
     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",

+ 1 - 1
raster/r.path/r.path.html

@@ -70,7 +70,7 @@ of r.cost and r.walk is considered:
 </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>