소스 검색

v.db.select: more gui sections

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54251 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 년 전
부모
커밋
936257781a
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 6 3
      vector/v.db.select/main.c

+ 6 - 3
vector/v.db.select/main.c

@@ -8,7 +8,7 @@
  *               
  * PURPOSE:      Print vector attributes
  *               
- * COPYRIGHT:    (C) 2005-2009, 2011 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2005-2009, 2011-2012 by the GRASS Development Team
  *
  *               This program is free software under the GNU General
  *               Public License (>=v2). Read the file COPYING that
@@ -58,9 +58,11 @@ int main(int argc, char **argv)
     field_opt = G_define_standard_option(G_OPT_V_FIELD);
 
     col_opt = G_define_standard_option(G_OPT_DB_COLUMNS);
-
+    col_opt->guisection = _("Selection");
+    
     where_opt = G_define_standard_option(G_OPT_DB_WHERE);
-
+    where_opt->guisection = _("Selection");
+    
     fs_opt = G_define_standard_option(G_OPT_F_SEP);
     fs_opt->guisection = _("Format");
 
@@ -87,6 +89,7 @@ int main(int argc, char **argv)
     r_flag->key = 'r';
     r_flag->description =
 	_("Print minimal region extent of selected vector features instead of attributes");
+    r_flag->guisection = _("Region");
 
     c_flag = G_define_flag();
     c_flag->key = 'c';