[GRASS-SVN] r69355 - grass/branches/releasebranch_7_2/vector/v.in.ascii
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 3 07:11:48 PDT 2016
Author: mmetz
Date: 2016-09-03 07:11:48 -0700 (Sat, 03 Sep 2016)
New Revision: 69355
Modified:
grass/branches/releasebranch_7_2/vector/v.in.ascii/main.c
Log:
v.in.ascii: add text=none to restore geonames import (backport from trunk r69354)
Modified: grass/branches/releasebranch_7_2/vector/v.in.ascii/main.c
===================================================================
--- grass/branches/releasebranch_7_2/vector/v.in.ascii/main.c 2016-09-03 14:11:15 UTC (rev 69354)
+++ grass/branches/releasebranch_7_2/vector/v.in.ascii/main.c 2016-09-03 14:11:48 UTC (rev 69355)
@@ -38,6 +38,8 @@
sep = G_store("\"");
else if (strcmp(option->answer, "singlequote") == 0)
sep = G_store("\'");
+ else if (strcmp(option->answer, "none") == 0)
+ sep = NULL;
else
sep = G_store(option->answer);
@@ -101,7 +103,7 @@
tdelim_opt->key = "text";
tdelim_opt->label = "Text delimiter";
tdelim_opt->answer = "doublequote";
- tdelim_opt->description = _("Special characters: doublequote, singlequote");
+ tdelim_opt->description = _("Special characters: doublequote, singlequote, none");
tdelim_opt->guisection = _("Input format");
skip_opt = G_define_option();
More information about the grass-commit
mailing list