[GRASS-SVN] r62507 - in grass/branches/releasebranch_7_0: . general/g.region
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 31 15:03:20 PDT 2014
Author: annakrat
Date: 2014-10-31 15:03:20 -0700 (Fri, 31 Oct 2014)
New Revision: 62507
Modified:
grass/branches/releasebranch_7_0/
grass/branches/releasebranch_7_0/general/g.region/main.c
Log:
g.region: add G_option_required so that g.region without options starts dialog (merge from trunk, r62506)
Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
- /grass/trunk:62487,62491,62494
+ /grass/trunk:62487,62491,62494,62506
Modified: grass/branches/releasebranch_7_0/general/g.region/main.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.region/main.c 2014-10-31 21:57:43 UTC (rev 62506)
+++ grass/branches/releasebranch_7_0/general/g.region/main.c 2014-10-31 22:03:20 UTC (rev 62507)
@@ -346,6 +346,15 @@
parm.save->gisprompt = "new,windows,region";
parm.save->guisection = _("Effects");
+ G_option_required(flag.dflt, flag.savedefault, flag.print, flag.lprint,
+ flag.eprint, flag.center, flag.gmt_style, flag.wms_style,
+ flag.dist_res, flag.nangle, flag. z, flag.bbox, flag.gprint,
+ flag.res_set, flag.update, parm.region, parm.raster,
+ parm.raster3d, parm.vect, parm.north, parm.south, parm.east,
+ parm.west, parm.top, parm.bottom, parm.rows, parm.cols,
+ parm.res, parm.res3, parm.nsres, parm.ewres, parm.tbres,
+ parm.zoom, parm.align, parm.save, NULL);
+
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list