[GRASS-SVN] r63004 - grass/branches/releasebranch_7_0/raster/r.drain

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 02:41:47 PST 2014


Author: martinl
Date: 2014-11-26 02:41:47 -0800 (Wed, 26 Nov 2014)
New Revision: 63004

Modified:
   grass/branches/releasebranch_7_0/raster/r.drain/main.c
Log:
r.drain: use standardized options (#2409) - (merge r63003 from trunk)

Modified: grass/branches/releasebranch_7_0/raster/r.drain/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.drain/main.c	2014-11-26 10:40:37 UTC (rev 63003)
+++ grass/branches/releasebranch_7_0/raster/r.drain/main.c	2014-11-26 10:41:47 UTC (rev 63004)
@@ -116,7 +116,7 @@
     opt1->description = _("Name of input elevation or cost surface raster map");
     
     opt3 = G_define_standard_option(G_OPT_R_INPUT);
-    opt3->key = "indir";
+    opt3->key = "direction";
     opt3->description =
 	_("Name of input movement direction map associated with the cost surface");
     opt3->required = NO;
@@ -125,7 +125,7 @@
     opt2 = G_define_standard_option(G_OPT_R_OUTPUT);
     
     opt4 = G_define_standard_option(G_OPT_V_OUTPUT);
-    opt4->key = "vector_output";
+    opt4->key = "drain";
     opt4->required = NO;
     opt4->label =
         _("Name for output drain vector map");



More information about the grass-commit mailing list