Browse Source

swap (ie restore) flags: -g is used throughout for map region info, same usage as g.region and r.info

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49204 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 13 years ago
parent
commit
6d08988750
2 changed files with 9 additions and 9 deletions
  1. 8 8
      vector/v.info/parse.c
  2. 1 1
      vector/v.info/v.info.html

+ 8 - 8
vector/v.info/parse.c

@@ -30,19 +30,19 @@ void parse_args(int argc, char** argv,
 	_("Print types/names of table columns for specified layer instead of info and exit");
     col_flag->guisection = _("Print");
 
-    shell_flag = G_define_flag();
-    shell_flag->key = 'g';
-    shell_flag->description = _("Print basic 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->key = 'g';
+    region_flag->description = _("Print region info in shell script style");
     region_flag->guisection = _("Print");
 
+    shell_flag = G_define_flag();
+    shell_flag->key = 'e';
+    shell_flag->description = _("Print extended metadata info in shell script style");
+    shell_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))

+ 1 - 1
vector/v.info/v.info.html

@@ -116,7 +116,7 @@ primitives=5481
 </pre></div>
 
 <div class="code"><pre>
-v.info -e map=geology
+v.info -g map=geology
 
 north=318117.43741634
 south=10875.82723209