[GRASS-SVN] r32935 - grass/trunk/vector/v.in.ascii
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 20 15:38:16 EDT 2008
Author: martinl
Date: 2008-08-20 15:38:16 -0400 (Wed, 20 Aug 2008)
New Revision: 32935
Modified:
grass/trunk/vector/v.in.ascii/main.c
Log:
v.in.ascii: don't use G_OPT_COLUMNS for columns option (merge from devbr6, r32934)
Modified: grass/trunk/vector/v.in.ascii/main.c
===================================================================
--- grass/trunk/vector/v.in.ascii/main.c 2008-08-20 19:36:08 UTC (rev 32934)
+++ grass/trunk/vector/v.in.ascii/main.c 2008-08-20 19:38:16 UTC (rev 32935)
@@ -80,7 +80,10 @@
skip_opt->description =
_("Number of header lines to skip at top of input file (points mode)");
- columns_opt = G_define_standard_option(G_OPT_COLUMNS);
+ columns_opt = G_define_option();
+ columns_opt->key = "columns";
+ columns_opt->type = TYPE_STRING;
+ columns_opt->required = NO;
columns_opt->multiple = NO;
columns_opt->guisection = _("Columns");
columns_opt->label = _("Column definition in SQL style (points mode)");
More information about the grass-commit
mailing list