[GRASS-SVN] r48471 -
grass/branches/releasebranch_6_4/vector/v.generalize
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 26 04:32:46 EDT 2011
Author: mmetz
Date: 2011-09-26 01:32:46 -0700 (Mon, 26 Sep 2011)
New Revision: 48471
Modified:
grass/branches/releasebranch_6_4/vector/v.generalize/main.c
Log:
restore -r flag for backwards compatibility
Modified: grass/branches/releasebranch_6_4/vector/v.generalize/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/main.c 2011-09-26 08:04:30 UTC (rev 48470)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/main.c 2011-09-26 08:32:46 UTC (rev 48471)
@@ -53,7 +53,7 @@
struct Option *angle_thresh_opt, *degree_thresh_opt,
*closeness_thresh_opt;
struct Option *betweeness_thresh_opt;
- struct Flag *ca_flag;
+ struct Flag *ca_flag, *rs_flag;
int with_z;
int total_input, total_output; /* Number of points in the input/output map respectively */
double thresh, alpha, beta, reduction, slide, angle_thresh;
@@ -202,6 +202,12 @@
ca_flag->key = 'c';
ca_flag->description = _("Copy attributes");
+ rs_flag = G_define_flag();
+ rs_flag->key = 'r';
+ rs_flag->description =
+ _("This does nothing. It is retained for backwards compatibility");
+ rs_flag->guisection = _("Unused");
+
/* options and flags parser */
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list