[GRASS-SVN] r38372 - grass/trunk/vector/v.external
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 12 05:32:21 EDT 2009
Author: martinl
Date: 2009-07-12 05:32:21 -0400 (Sun, 12 Jul 2009)
New Revision: 38372
Modified:
grass/trunk/vector/v.external/main.c
Log:
v.external: options labels updated, more guisections
Modified: grass/trunk/vector/v.external/main.c
===================================================================
--- grass/trunk/vector/v.external/main.c 2009-07-12 09:25:58 UTC (rev 38371)
+++ grass/trunk/vector/v.external/main.c 2009-07-12 09:32:21 UTC (rev 38372)
@@ -63,29 +63,32 @@
options.dsn->description = _("Examples:\n"
"\t\tESRI Shapefile: directory containing shapefiles\n"
"\t\tMapInfo File: directory containing mapinfo files");
+ options.dsn->guisection = _("Data source");
- options.output = G_define_standard_option(G_OPT_V_OUTPUT);
- options.output->required = NO;
- options.output->description =
- _("Output vector. If not given, available layers are printed only.");
-
options.layer = G_define_option();
options.layer->key = "layer";
options.layer->type = TYPE_STRING;
options.layer->required = NO;
options.layer->multiple = NO;
- options.layer->description =
- _("OGR layer name. If not given, available layers are printed only. Examples:\n"
- "\t\tESRI Shapefile: shapefile name\n"
- "\t\tMapInfo File: mapinfo file name");
+ options.layer->label = _("OGR layer name");
+ options.layer->description = _("Examples:\n"
+ "\t\tESRI Shapefile: shapefile name\n"
+ "\t\tMapInfo File: mapinfo file name");
+ options.layer->guisection = _("Data source");
+ options.output = G_define_standard_option(G_OPT_V_OUTPUT);
+ options.output->required = NO;
+ options.output->description = _("Name for output vector map");
+
flags.format = G_define_flag();
flags.format->key = 'f';
flags.format->description = _("List supported formats and exit");
-
+ flags.format->guisection = _("Print");
+
flags.layer = G_define_flag();
flags.layer->key = 'l';
flags.layer->description = _("List available layers and exit");
+ flags.layer->guisection = _("Print");
flags.topo = G_define_flag();
flags.topo->key = 'b';
More information about the grass-commit
mailing list