Browse Source

Fix https://trac.osgeo.org/grass/changeset/42183

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42210 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 15 years ago
parent
commit
e65de892f1
2 changed files with 5 additions and 5 deletions
  1. 1 1
      raster/r.mapcalc/main.c
  2. 4 4
      raster/r.mapcalc/r.mapcalc.html

+ 1 - 1
raster/r.mapcalc/main.c

@@ -130,7 +130,7 @@ int main(int argc, char **argv)
     {
 	char **p = G_malloc(3 * sizeof(char *));
 	p[0] = argv[0];
-	p[1] = G_store("input=-");
+	p[1] = G_store("file=-");
 	p[2] = NULL;
 	argv = p;
 	argc = 2;

+ 4 - 4
raster/r.mapcalc/r.mapcalc.html

@@ -41,7 +41,7 @@ r.mapcalc 'foo=1'
 Sorry, <foo> is not a valid parameter
 </pre></div>
 
-If no options are given, it manufactures "input=-" (which reads from
+If no options are given, it manufactures "file=-" (which reads from
 stdin), so you can continue to use e.g.:
 
 <div class="code"><pre>
@@ -53,15 +53,15 @@ r.mapcalc &lt;&lt;EOF
 foo = 1
 EOF
 </pre></div>
-But unless you need compatibility with previous versions, use input=
+But unless you need compatibility with previous versions, use file=
 explicitly, e.g.:
 
 <div class="code"><pre>
-r.mapcalc input=file
+r.mapcalc file=file
 </pre></div>
 or:
 <div class="code"><pre>
-r.mapcalc input=- &lt;&lt;EOF
+r.mapcalc file=- &lt;&lt;EOF
 foo = 1
 EOF
 </pre></div>