[GRASS-SVN] r65587 - grass/trunk/vector/v.proj

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 14 08:49:12 PDT 2015


Author: martinl
Date: 2015-07-14 08:49:11 -0700 (Tue, 14 Jul 2015)
New Revision: 65587

Modified:
   grass/trunk/vector/v.proj/main.c
Log:
v.proj: reorder options to avoid user confusion

Modified: grass/trunk/vector/v.proj/main.c
===================================================================
--- grass/trunk/vector/v.proj/main.c	2015-07-14 13:11:58 UTC (rev 65586)
+++ grass/trunk/vector/v.proj/main.c	2015-07-14 15:49:11 UTC (rev 65587)
@@ -71,12 +71,6 @@
 
     /* set up the options and flags for the command line parser */
 
-    mapopt = G_define_standard_option(G_OPT_V_INPUT);
-    mapopt->required = NO;
-    mapopt->label = _("Name of input vector map to re-project");
-    mapopt->description = NULL;
-    mapopt->guisection = _("Source");
-    
     ilocopt = G_define_standard_option(G_OPT_M_LOCATION);
     ilocopt->required = YES;
     ilocopt->label = _("Location containing input vector map");
@@ -87,10 +81,15 @@
     isetopt->description = _("Default: name of current mapset");
     isetopt->guisection = _("Source");
 
+    mapopt = G_define_standard_option(G_OPT_V_INPUT);
+    mapopt->required = NO;
+    mapopt->label = _("Name of input vector map to re-project");
+    mapopt->description = NULL;
+    mapopt->guisection = _("Source");
+    
     ibaseopt = G_define_standard_option(G_OPT_M_DBASE);
     ibaseopt->label = _("Path to GRASS database of input location");
-    ibaseopt->guisection = _("Source");
-
+    
     smax = G_define_option();
     smax->key = "smax";
     smax->type = TYPE_DOUBLE;



More information about the grass-commit mailing list