Browse Source

v.overlay: don't use standardized parameter description (vector map A/B)
(merge from devbr6, https://trac.osgeo.org/grass/changeset/34360)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34361 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 years ago
parent
commit
8c8e4f1c67
1 changed files with 8 additions and 2 deletions
  1. 8 2
      vector/v.overlay/main.c

+ 8 - 2
vector/v.overlay/main.c

@@ -9,7 +9,7 @@
  *               Markus Neteler <neteler itc.it>,
  *               Paul Kelly <paul-grass stjohnspoint.co.uk>
  * PURPOSE:      
- * COPYRIGHT:    (C) 2003-2007 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2003-2008 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -55,25 +55,31 @@ int main(int argc, char *argv[])
     module->description = _("Overlays two vector maps.");
 
     in_opt[0] = G_define_standard_option(G_OPT_V_INPUT);
+    in_opt[0]->description = _("Name of input vector map (A)");
     in_opt[0]->key = "ainput";
 
     type_opt[0] = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt[0]->label = _("Feature type (vector map A)");
     type_opt[0]->key = "atype";
     type_opt[0]->options = "line,area";
     type_opt[0]->answer = "area";
 
     field_opt[0] = G_define_standard_option(G_OPT_V_FIELD);
+    field_opt[0]->label = _("Layer number (vector map A)");
     field_opt[0]->key = "alayer";
 
     in_opt[1] = G_define_standard_option(G_OPT_V_INPUT);
+    in_opt[1]->description = _("Name of input vector map (B)");
     in_opt[1]->key = "binput";
 
     type_opt[1] = G_define_standard_option(G_OPT_V_TYPE);
+    type_opt[1]->label = _("Feature type (vector map B)");
     type_opt[1]->key = "btype";
     type_opt[1]->options = "area";
     type_opt[1]->answer = "area";
 
     field_opt[1] = G_define_standard_option(G_OPT_V_FIELD);
+    field_opt[1]->label = _("Layer number (vector map B)");
     field_opt[1]->key = "blayer";
 
     out_opt = G_define_standard_option(G_OPT_V_OUTPUT);
@@ -444,7 +450,7 @@ int main(int argc, char *argv[])
 	    G_fatal_error(_("Unable to create table: '%s'"),
 			  db_get_string(&stmt));
 	}
-
+	
 	if (db_create_index2(driver, Fi->table, "cat") != DB_OK)
 	    G_warning(_("Unable to create index"));