浏览代码

v.db.addcolumn: cosmetics in parameter description

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42532 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父节点
当前提交
b032be1f06
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      scripts/v.db.addcolumn/v.db.addcolumn.py

+ 6 - 3
scripts/v.db.addcolumn/v.db.addcolumn.py

@@ -28,14 +28,16 @@
 #% type: string
 #% gisprompt: old,vector,vector
 #% key_desc : name
-#% description: Vector map for which to edit attribute table
+#% description: Name of vector map for which to edit attribute table
 #% required : yes
 #%end
 
 #%option
 #% key: layer
 #% type: integer
-#% description: Layer where to add column
+#% gisprompt: old_layer,layer,layer
+#% label: Layer number where to add column(s)
+#% description: A single vector map can be connected to multiple database tables. This number determines which table to use.
 #% answer: 1
 #% required : no
 #%end
@@ -43,7 +45,8 @@
 #%option
 #% key: columns
 #% type: string
-#% description: Name and type of the new column(s) ('name type [,name type, ...]' - types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE)
+#% label: Name and type of the new column(s) ('name type [,name type, ...]')
+#% description: Data types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE
 #% required : yes
 #%end