[GRASS-SVN] r49204 - grass/trunk/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 14 01:49:25 EST 2011
Author: hamish
Date: 2011-11-13 22:49:25 -0800 (Sun, 13 Nov 2011)
New Revision: 49204
Modified:
grass/trunk/vector/v.info/parse.c
grass/trunk/vector/v.info/v.info.html
Log:
swap (ie restore) flags: -g is used throughout for map region info, same usage as g.region and r.info
Modified: grass/trunk/vector/v.info/parse.c
===================================================================
--- grass/trunk/vector/v.info/parse.c 2011-11-13 23:58:35 UTC (rev 49203)
+++ grass/trunk/vector/v.info/parse.c 2011-11-14 06:49:25 UTC (rev 49204)
@@ -30,19 +30,19 @@
_("Print types/names of table columns for specified layer instead of info and exit");
col_flag->guisection = _("Print");
+ region_flag = G_define_flag();
+ region_flag->key = 'g';
+ region_flag->description = _("Print region info in shell script style");
+ region_flag->guisection = _("Print");
+
shell_flag = G_define_flag();
- shell_flag->key = 'g';
- shell_flag->description = _("Print basic info in shell script style");
+ shell_flag->key = 'e';
+ shell_flag->description = _("Print extended metadata info in shell script style");
shell_flag->guisection = _("Print");
- region_flag = G_define_flag();
- region_flag->key = 'e';
- region_flag->description = _("Print also region info in shell script style");
- region_flag->guisection = _("Print");
-
topo_flag = G_define_flag();
topo_flag->key = 't';
- topo_flag->description = _("Print also topology info in shell script style");
+ topo_flag->description = _("Print topology info in shell script style");
topo_flag->guisection = _("Print");
if (G_parser(argc, argv))
Modified: grass/trunk/vector/v.info/v.info.html
===================================================================
--- grass/trunk/vector/v.info/v.info.html 2011-11-13 23:58:35 UTC (rev 49203)
+++ grass/trunk/vector/v.info/v.info.html 2011-11-14 06:49:25 UTC (rev 49204)
@@ -116,7 +116,7 @@
</pre></div>
<div class="code"><pre>
-v.info -e map=geology
+v.info -g map=geology
north=318117.43741634
south=10875.82723209
More information about the grass-commit
mailing list