瀏覽代碼

v.patch & v.out.vtk: more keywords, cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40046 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父節點
當前提交
208d472770
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 2 1
      vector/v.out.vtk/main.c
  2. 4 3
      vector/v.patch/main.c

+ 2 - 1
vector/v.out.vtk/main.c

@@ -45,8 +45,9 @@ int main(int argc, char *argv[])
 
 
     module = G_define_module();
     module = G_define_module();
     G_add_keyword(_("vector"));
     G_add_keyword(_("vector"));
+    G_add_keyword(_("export"));
     module->description =
     module->description =
-	_("Converts a GRASS binary vector map to VTK ASCII output.");
+	_("Converts a vector map to VTK ASCII output.");
 
 
     input = G_define_standard_option(G_OPT_V_INPUT);
     input = G_define_standard_option(G_OPT_V_INPUT);
 
 

+ 4 - 3
vector/v.patch/main.c

@@ -66,8 +66,9 @@ int main(int argc, char *argv[])
 
 
     module = G_define_module();
     module = G_define_module();
     G_add_keyword(_("vector"));
     G_add_keyword(_("vector"));
-    module->description = _("Create a new vector map layer "
-			    "by combining other vector map layers.");
+    G_add_keyword(_("geometry"));
+    module->description = _("Creates a new vector map "
+			    "by combining other vector maps.");
 
 
     old = G_define_standard_option(G_OPT_V_INPUTS);
     old = G_define_standard_option(G_OPT_V_INPUTS);
 
 
@@ -359,7 +360,7 @@ int main(int argc, char *argv[])
     if (bbox_name) {
     if (bbox_name) {
 	Vect_set_map_name(&BBoxMap, "Output from v.patch (bounding boxes)");
 	Vect_set_map_name(&BBoxMap, "Output from v.patch (bounding boxes)");
 	Vect_set_person(&BBoxMap, G_whoami());
 	Vect_set_person(&BBoxMap, G_whoami());
-	G_important_message("");
+	G_important_message(" ");
 	G_important_message(_("Building topology for vector map <%s>..."),
 	G_important_message(_("Building topology for vector map <%s>..."),
 			    bbox_name);
 			    bbox_name);
 	Vect_build(&BBoxMap);
 	Vect_build(&BBoxMap);