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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 14 05:51:09 EDT 2010


Author: glynn
Date: 2010-10-14 02:51:09 -0700 (Thu, 14 Oct 2010)
New Revision: 43906

Modified:
   grass/trunk/general/g.mapset/main.c
Log:
Don't set option defaults from current state (results in incorrect documentation).


Modified: grass/trunk/general/g.mapset/main.c
===================================================================
--- grass/trunk/general/g.mapset/main.c	2010-10-14 09:43:38 UTC (rev 43905)
+++ grass/trunk/general/g.mapset/main.c	2010-10-14 09:51:09 UTC (rev 43906)
@@ -62,7 +62,6 @@
     location_opt->multiple = NO;
     location_opt->description = _("Location name (not location path)");
     location_opt->guisection = _("Settings");
-    location_opt->answer = (char *) G__getenv("LOCATION_NAME");
 
     gisdbase_opt = G_define_option();
     gisdbase_opt->key = "gisdbase";
@@ -73,7 +72,6 @@
     gisdbase_opt->description =
 	_("GIS data directory (full path to the directory where the new location is)");
     gisdbase_opt->guisection = _("Settings");
-    gisdbase_opt->answer = (char *) G__getenv("GISDBASE");
 
     f_add = G_define_flag();
     f_add->key = 'c';



More information about the grass-commit mailing list