[GRASS-SVN] r32946 - grass/branches/develbranch_6/vector/v.in.dxf
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 20 19:17:42 EDT 2008
Author: martinl
Date: 2008-08-20 19:17:41 -0400 (Wed, 20 Aug 2008)
New Revision: 32946
Modified:
grass/branches/develbranch_6/vector/v.in.dxf/main.c
Log:
v.in.dxf: cosmetics, more gui sections
Modified: grass/branches/develbranch_6/vector/v.in.dxf/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.dxf/main.c 2008-08-20 22:32:37 UTC (rev 32945)
+++ grass/branches/develbranch_6/vector/v.in.dxf/main.c 2008-08-20 23:17:41 UTC (rev 32946)
@@ -61,10 +61,6 @@
module->description =
_("Converts files in DXF format to GRASS vector map format.");
- flag.list = G_define_flag();
- flag.list->key = 'l';
- flag.list->description = _("List available layers and exit");
-
flag.extent = G_define_flag();
flag.extent->key = 'e';
flag.extent->description = _("Ignore the map extent of DXF file");
@@ -77,19 +73,26 @@
flag.topo->key = 'b';
flag.topo->description = _("Do not build topology");
+ flag.frame = G_define_flag();
+ flag.frame->key = 'f';
+ flag.frame->description = _("Import polyface meshes as 3D wire frame");
+
+ flag.list = G_define_flag();
+ flag.list->key = 'l';
+ flag.list->description = _("List available layers and exit");
+ flag.list->guisection = _("DXF layers");
+
flag.invert = G_define_flag();
flag.invert->key = 'i';
flag.invert->description =
_("Invert selection by layers (don't import layers in list)");
+ flag.invert->guisection = _("DXF layers");
flag.one_layer = G_define_flag();
flag.one_layer->key = '1';
flag.one_layer->description = _("Import all objects into one layer");
+ flag.one_layer->guisection = _("DXF layers");
- flag.frame = G_define_flag();
- flag.frame->key = 'f';
- flag.frame->description = _("Import polyface meshes as 3D wire frame");
-
opt.input = G_define_standard_option(G_OPT_F_INPUT);
opt.input->description = _("Name of input DXF file");
@@ -102,6 +105,7 @@
opt.layers->required = NO;
opt.layers->multiple = YES;
opt.layers->description = _("List of layers to import");
+ opt.layers->guisection = _("DXF layers");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list