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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 25 09:52:57 PST 2015


Author: wenzeslaus
Date: 2015-02-25 09:52:57 -0800 (Wed, 25 Feb 2015)
New Revision: 64735

Modified:
   grass/trunk/general/g.parser/standard_option.c
Log:
parser: add new standard options also to g.parser (fix r64732)

When adding new item to STD_OPT you should also
update STD_OPT_STRINGS array in general/g.parser/standard_option.c.


Modified: grass/trunk/general/g.parser/standard_option.c
===================================================================
--- grass/trunk/general/g.parser/standard_option.c	2015-02-25 04:49:29 UTC (rev 64734)
+++ grass/trunk/general/g.parser/standard_option.c	2015-02-25 17:52:57 UTC (rev 64735)
@@ -56,6 +56,8 @@
                                   "G_OPT_M_UNITS",
                                   "G_OPT_M_DATATYPE",
                                   "G_OPT_M_MAPSET",
+                                  "G_OPT_M_LOCATION",
+                                  "G_OPT_M_DBASE",
                                   "G_OPT_M_COORDS",
                                   "G_OPT_M_COLR",
                                   "G_OPT_M_DIR",



More information about the grass-commit mailing list