[GRASS-SVN] r48013 - grass/trunk/general/g.mapset

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 31 19:08:57 EDT 2011


Author: martinl
Date: 2011-08-31 16:08:57 -0700 (Wed, 31 Aug 2011)
New Revision: 48013

Modified:
   grass/trunk/general/g.mapset/main.c
Log:
g.mapset: allow to define mapset to be created


Modified: grass/trunk/general/g.mapset/main.c
===================================================================
--- grass/trunk/general/g.mapset/main.c	2011-08-31 23:07:58 UTC (rev 48012)
+++ grass/trunk/general/g.mapset/main.c	2011-08-31 23:08:57 UTC (rev 48013)
@@ -55,6 +55,7 @@
     opt.mapset->required = YES;
     opt.mapset->description = _("Name of mapset where to switch");
     opt.mapset->guisection = _("Settings");
+    opt.mapset->gisprompt = "new,mapset,mapset";
 
     opt.location = G_define_option();
     opt.location->key = "location";



More information about the grass-commit mailing list