[GRASS-SVN] r57667 - grass/branches/develbranch_6/raster/r.regression.line
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 13 19:50:25 PDT 2013
Author: hamish
Date: 2013-09-13 19:50:25 -0700 (Fri, 13 Sep 2013)
New Revision: 57667
Modified:
grass/branches/develbranch_6/raster/r.regression.line/main.c
Log:
keep -s flag for backwards compatibility with old 6.4.0 shell script version
Modified: grass/branches/develbranch_6/raster/r.regression.line/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.regression.line/main.c 2013-09-14 02:38:55 UTC (rev 57666)
+++ grass/branches/develbranch_6/raster/r.regression.line/main.c 2013-09-14 02:50:25 UTC (rev 57667)
@@ -32,7 +32,7 @@
DCELL *map1_buf, *map2_buf, map1_val, map2_val;
char *name, *mapset;
struct Option *input_map1, *input_map2, *output_opt;
- struct Flag *shell_style;
+ struct Flag *shell_style, *slow;
struct Cell_head region;
struct GModule *module;
@@ -62,6 +62,11 @@
shell_style->key = 'g';
shell_style->description = _("Print in shell script style");
+ slow = G_define_flag();
+ slow->key = 's';
+ slow->description =
+ _("This does nothing. It is retained for backwards compatibility");
+
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list