[GRASS-SVN] r54546 - grass/trunk/raster/r.viewshed

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 6 04:34:36 PST 2013


Author: martinl
Date: 2013-01-06 04:34:36 -0800 (Sun, 06 Jan 2013)
New Revision: 54546

Modified:
   grass/trunk/raster/r.viewshed/main.cpp
Log:
r.viewshed: description cosmetics


Modified: grass/trunk/raster/r.viewshed/main.cpp
===================================================================
--- grass/trunk/raster/r.viewshed/main.cpp	2013-01-06 12:19:15 UTC (rev 54545)
+++ grass/trunk/raster/r.viewshed/main.cpp	2013-01-06 12:34:36 UTC (rev 54546)
@@ -115,7 +115,7 @@
     G_add_keyword(_("raster"));
     G_add_keyword(_("viewshed"));
     G_add_keyword(_("line of sight"));
-    module->label = _("Computes the viewshed of a point on a raster terrain.");
+    module->label = _("Computes the viewshed of a point on an elevation raster map.");
     module->description = _("Default format: NULL (invisible), vertical angle wrt viewpoint (visible).");
 
     struct Cell_head region;
@@ -467,7 +467,7 @@
     booleanOutput = G_define_flag();
     booleanOutput->key = 'b';
     booleanOutput->description =
-	_("Output format is {0 (invisible) 1 (visible)}");
+	_("Output format is invisible = 0, visible = 1");
     booleanOutput->guisection = _("Output format");
 
     /* output mode = elevation flag */
@@ -483,7 +483,6 @@
     struct Option *viewLocOpt;
 
     viewLocOpt = G_define_standard_option(G_OPT_M_COORDS);
-    viewLocOpt->key = "coordinate";
     viewLocOpt->required = YES;
     viewLocOpt->description = _("Coordinates of viewing position");
 
@@ -520,7 +519,7 @@
     maxDistOpt->required = NO;
     maxDistOpt->key_desc = "value";
     maxDistOpt->description =
-	_("Maximum visibility radius. By default infinity (-1).");
+	_("Maximum visibility radius. By default infinity (-1)");
     char infdist[10];
 
     sprintf(infdist, "%d", INFINITY_DISTANCE);



More information about the grass-commit mailing list