[GRASS-SVN] r47819 - in grass/trunk/general: g.copy g.rename

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 22 09:43:18 EDT 2011


Author: glynn
Date: 2011-08-22 06:43:18 -0700 (Mon, 22 Aug 2011)
New Revision: 47819

Modified:
   grass/trunk/general/g.copy/main.c
   grass/trunk/general/g.rename/main.c
Log:
List --overwrite flag


Modified: grass/trunk/general/g.copy/main.c
===================================================================
--- grass/trunk/general/g.copy/main.c	2011-08-22 13:22:04 UTC (rev 47818)
+++ grass/trunk/general/g.copy/main.c	2011-08-22 13:43:18 UTC (rev 47819)
@@ -44,6 +44,7 @@
     module->description =
 	_("Copies available data files in the current mapset "
 	  "search path to the user's current mapset.");
+    module->overwrite = 1;
 
     parm = (struct Option **) G_calloc(nlist, sizeof(struct Option *));
 

Modified: grass/trunk/general/g.rename/main.c
===================================================================
--- grass/trunk/general/g.rename/main.c	2011-08-22 13:22:04 UTC (rev 47818)
+++ grass/trunk/general/g.rename/main.c	2011-08-22 13:43:18 UTC (rev 47819)
@@ -45,6 +45,7 @@
     G_add_keyword(_("rename"));
     module->description =
 	_("Renames data base element files in the user's current mapset.");
+    module->overwrite = 1;
 
     parm = (struct Option **)G_calloc(nlist, sizeof(struct Option *));
 



More information about the grass-commit mailing list