[GRASS-SVN] r62756 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 16 04:31:50 PST 2014
Author: martinl
Date: 2014-11-16 04:31:50 -0800 (Sun, 16 Nov 2014)
New Revision: 62756
Modified:
grass/trunk/lib/gis/parser_help.c
grass/trunk/lib/gis/parser_html.c
Log:
libgis: document --ui flag
Modified: grass/trunk/lib/gis/parser_help.c
===================================================================
--- grass/trunk/lib/gis/parser_help.c 2014-11-16 10:33:17 UTC (rev 62755)
+++ grass/trunk/lib/gis/parser_help.c 2014-11-16 12:31:50 UTC (rev 62756)
@@ -164,6 +164,9 @@
strcpy(item, " [--quiet]");
len = show(fp, item, len);
+ strcpy(item, " [--ui]");
+ len = show(fp, item, len);
+
fprintf(fp, "\n");
/* Print help info for flags */
@@ -199,7 +202,8 @@
fprintf(fp, " --h %s\n", _("Print usage summary"));
fprintf(fp, " --v %s\n", _("Verbose module output"));
fprintf(fp, " --q %s\n", _("Quiet module output"));
-
+ fprintf(fp, " --ui %s\n", _("Force launching GUI dialog"));
+
/* Print help info for options */
if (st->n_opts) {
Modified: grass/trunk/lib/gis/parser_html.c
===================================================================
--- grass/trunk/lib/gis/parser_html.c 2014-11-16 10:33:17 UTC (rev 62755)
+++ grass/trunk/lib/gis/parser_html.c 2014-11-16 12:31:50 UTC (rev 62756)
@@ -133,7 +133,8 @@
fprintf(stdout, " [--<b>help</b>] ");
fprintf(stdout, " [--<b>verbose</b>] ");
fprintf(stdout, " [--<b>quiet</b>] ");
-
+ fprintf(stdout, " [--<b>ui</b>] ");
+
fprintf(stdout, "\n</div>\n");
@@ -177,6 +178,9 @@
fprintf(stdout, "<dt><b>--quiet</b></dt>\n");
fprintf(stdout, "<dd>%s</dd>\n", _("Quiet module output"));
+ fprintf(stdout, "<dt><b>--ui</b></dt>\n");
+ fprintf(stdout, "<dd>%s</dd>\n", _("Force launching GUI dialog"));
+
fprintf(stdout, "</dl>\n");
}
fprintf(stdout, "</div>\n");
More information about the grass-commit
mailing list