[GRASS-SVN] r63003 - grass/trunk/raster/r.drain

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 02:40:37 PST 2014


Author: martinl
Date: 2014-11-26 02:40:37 -0800 (Wed, 26 Nov 2014)
New Revision: 63003

Modified:
   grass/trunk/raster/r.drain/main.c
Log:
r.drain use standardized options (#2409)

Modified: grass/trunk/raster/r.drain/main.c
===================================================================
--- grass/trunk/raster/r.drain/main.c	2014-11-26 10:38:37 UTC (rev 63002)
+++ grass/trunk/raster/r.drain/main.c	2014-11-26 10:40:37 UTC (rev 63003)
@@ -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