[GRASS-SVN] r63773 - in grass/trunk/lib: gis init
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 26 15:18:54 PST 2014
Author: neteler
Date: 2014-12-26 15:18:54 -0800 (Fri, 26 Dec 2014)
New Revision: 63773
Modified:
grass/trunk/lib/gis/parser.c
grass/trunk/lib/init/variables.html
Log:
libgis parser: attempt to document GRASS_FULL_OPTION_NAMES (trac #2409)
Modified: grass/trunk/lib/gis/parser.c
===================================================================
--- grass/trunk/lib/gis/parser.c 2014-12-26 23:08:45 UTC (rev 63772)
+++ grass/trunk/lib/gis/parser.c 2014-12-26 23:18:54 UTC (rev 63773)
@@ -971,7 +971,7 @@
if (strncmp(the_key, at_opt->key, key_len) == 0 ||
match_option(the_key, at_opt->key)) {
if (found >= MAX_MATCHES)
- G_fatal_error("too many matches (limit %d)", MAX_MATCHES);
+ G_fatal_error("Too many matches (limit %d)", MAX_MATCHES);
matches[found++] = at_opt;
}
}
Modified: grass/trunk/lib/init/variables.html
===================================================================
--- grass/trunk/lib/init/variables.html 2014-12-26 23:08:45 UTC (rev 63772)
+++ grass/trunk/lib/init/variables.html 2014-12-26 23:18:54 UTC (rev 63773)
@@ -135,9 +135,10 @@
specifies an alternative location (to <tt>$GISBASE/etc/fontcap</tt>) for
the font configuration file.</dd>
- <dt>GRASS_GNUPLOT</dt>
- <dd>[<!-- m.svfit, s.probplt, s.sv -->i.spectral]<br>
- program to use for plotting <em>gnuplot</em> data.</dd>
+ <dt>GRASS_FULL_OPTION_NAMES</dt>
+ <dd>[parser]<br>
+ Generates a warning if GRASS_FULL_OPTION_NAMES is set (to anything) and
+ a found string is not an exact match for the given string.</dd>
<dt>GRASS_GUI</dt>
<dd>either <tt>text</tt> (text user interface), <tt>gtext</tt> (text
More information about the grass-commit
mailing list