[GRASS-SVN] r33351 -
grass/branches/develbranch_6/vector/v.build.polylines
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 9 09:06:42 EDT 2008
Author: hamish
Date: 2008-09-09 09:06:42 -0400 (Tue, 09 Sep 2008)
New Revision: 33351
Modified:
grass/branches/develbranch_6/vector/v.build.polylines/main.c
Log:
retire -q flag; typo in map at mapset
Modified: grass/branches/develbranch_6/vector/v.build.polylines/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.build.polylines/main.c 2008-09-09 08:22:30 UTC (rev 33350)
+++ grass/branches/develbranch_6/vector/v.build.polylines/main.c 2008-09-09 13:06:42 UTC (rev 33351)
@@ -125,7 +125,7 @@
quietly = G_define_flag();
quietly->key = 'q';
- quietly->description = _("Do not print polyline info");
+ quietly->description = _("Unused");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
@@ -188,12 +188,9 @@
/* Find start of this polyline */
start_line = walk_back(&map, line);
start_type = Vect_read_line(&map, NULL, NULL, start_line);
- if (!quietly->answer) {
- fprintf(stdout, "Polyline %d: start line = %d \n", polyline,
- start_line);
- fflush(stdout);
- }
+ G_debug(1, "Polyline %d: start line = %d \n", polyline, start_line);
+
/* Walk forward and pick up coordinates */
points_in_polyline =
walk_forward_and_pick_up_coords(&map, start_line, points,
@@ -208,7 +205,7 @@
G_message(_("%d lines or boundaries found in vector map <%s@%s>"),
nlines, Vect_get_name(&map), Vect_get_mapset(&map));
- G_message(_("%d polylines stored to vector map <%s%s>"),
+ G_message(_("%d polylines stored in vector map <%s@%s>"),
polyline, Vect_get_name(&Out), Vect_get_mapset(&Out));
/* Copy (all linked) tables if needed */
More information about the grass-commit
mailing list