[GRASS-SVN] r62506 - grass/trunk/general/g.region
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 31 14:57:43 PDT 2014
Author: annakrat
Date: 2014-10-31 14:57:43 -0700 (Fri, 31 Oct 2014)
New Revision: 62506
Modified:
grass/trunk/general/g.region/main.c
Log:
g.region: add G_option_required so that g.region without options starts dialog
Modified: grass/trunk/general/g.region/main.c
===================================================================
--- grass/trunk/general/g.region/main.c 2014-10-31 15:20:43 UTC (rev 62505)
+++ grass/trunk/general/g.region/main.c 2014-10-31 21:57:43 UTC (rev 62506)
@@ -336,6 +336,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