Browse Source

libgis parser: attempt to document GRASS_FULL_OPTION_NAMES (trac https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63773 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 years ago
parent
commit
9da9d97e0b
2 changed files with 5 additions and 4 deletions
  1. 1 1
      lib/gis/parser.c
  2. 4 3
      lib/init/variables.html

+ 1 - 1
lib/gis/parser.c

@@ -971,7 +971,7 @@ void set_option(const char *string)
         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;
 	}
     }

+ 4 - 3
lib/init/variables.html

@@ -135,9 +135,10 @@ PERMANENT
     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