[GRASS-SVN] r54754 - grass/trunk/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 22 08:17:19 PST 2013


Author: glynn
Date: 2013-01-22 08:17:18 -0800 (Tue, 22 Jan 2013)
New Revision: 54754

Modified:
   grass/trunk/general/g.parser/parse.c
Log:
Don't accept "answer" in flag definitions


Modified: grass/trunk/general/g.parser/parse.c
===================================================================
--- grass/trunk/general/g.parser/parse.c	2013-01-22 15:01:55 UTC (rev 54753)
+++ grass/trunk/general/g.parser/parse.c	2013-01-22 16:17:18 UTC (rev 54754)
@@ -110,11 +110,6 @@
 	return;
     }
 
-    if (G_strcasecmp(cmd, "answer") == 0) {
-	ctx->flag->answer = atoi(arg);
-	return;
-    }
-
     /* Label, description, and guisection can all be internationalized */
     if (G_strcasecmp(cmd, "label") == 0) {
 	ctx->flag->label = translate(xstrdup(arg));



More information about the grass-commit mailing list