浏览代码

r.viewshed: description cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54546 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父节点
当前提交
c8bb2c8e4b
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      raster/r.viewshed/main.cpp

+ 3 - 4
raster/r.viewshed/main.cpp

@@ -115,7 +115,7 @@ int main(int argc, char *argv[])
     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 @@ parse_args(int argc, char *argv[], int *vpRow, int *vpCol,
     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 @@ parse_args(int argc, char *argv[], int *vpRow, int *vpCol,
     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 @@ parse_args(int argc, char *argv[], int *vpRow, int *vpCol,
     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);