[GRASS-SVN] r45582 - grass/trunk/ps/ps.map
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 5 18:14:58 EST 2011
Author: martinl
Date: 2011-03-05 15:14:58 -0800 (Sat, 05 Mar 2011)
New Revision: 45582
Modified:
grass/trunk/ps/ps.map/main.c
Log:
ps.map: standardize module's description
more gui sections
Modified: grass/trunk/ps/ps.map/main.c
===================================================================
--- grass/trunk/ps/ps.map/main.c 2011-03-05 23:06:15 UTC (rev 45581)
+++ grass/trunk/ps/ps.map/main.c 2011-03-05 23:14:58 UTC (rev 45582)
@@ -93,28 +93,32 @@
G_add_keyword(_("postscript"));
G_add_keyword(_("map"));
G_add_keyword(_("printing"));
- module->description = _("Hardcopy PostScript map output utility.");
+ module->description = _("Produces hardcopy PostScript map output.");
rflag = G_define_flag();
rflag->key = 'r';
rflag->description = _("Rotate plot 90 degrees");
+ rflag->guisection = _("Output settings");
pflag = G_define_flag();
pflag->key = 'p';
pflag->description =
_("List paper formats (name width height left right top bottom(margin))");
pflag->suppress_required = YES;
-
+ pflag->guisection = _("Print");
+
eflag = G_define_flag();
eflag->key = 'e';
eflag->description =
_("Create EPS (Encapsulated PostScript) instead of PostScript file");
+ eflag->guisection = _("Output settings");
bflag = G_define_flag();
bflag->key = 'b';
bflag->description =
_("Print map-box's position on the page and exit (inches from top-left of paper)");
bflag->suppress_required = YES;
+ bflag->guisection = _("Print");
input_file = G_define_standard_option(G_OPT_F_INPUT);
input_file->label = _("File containing mapping instructions");
@@ -129,6 +133,7 @@
copies->options = "1-20";
copies->description = _("Number of copies to print");
copies->required = NO;
+ copies->guisection = _("Output settings");
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list