浏览代码

v.db.addcolumn, v.db.addtable: better use msg

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68771 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 8 年之前
父节点
当前提交
2807495437
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      scripts/v.db.addcolumn/v.db.addcolumn.py
  2. 1 1
      scripts/v.db.addtable/v.db.addtable.py

+ 1 - 1
scripts/v.db.addcolumn/v.db.addcolumn.py

@@ -34,7 +34,7 @@
 #% key: columns
 #% type: string
 #% label: Name and type of the new column(s) ('name type [,name type, ...]')
-#% description: Types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE. Example: 'label varchar(250), type integer'
+#% description: Types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE. Example: 'label varchar(250), value integer'
 #% required: yes
 #% multiple: yes
 #% key_desc: name type

+ 1 - 1
scripts/v.db.addtable/v.db.addtable.py

@@ -45,7 +45,7 @@
 #% key: columns
 #% type: string
 #% label: Name and type of the new column(s) ('name type [,name type, ...]')
-#% description: Types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE. Example: 'label varchar(250), type integer'
+#% description: Types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE. Example: 'label varchar(250), value integer'
 #% required: no
 #% multiple: yes
 #% key_desc: name type