[GRASS-dev] [GRASS GIS] #2093: --interface-description option broken for some commands

#2093: --interface-description option broken for some commands
---------------------+------------------------------------------------------
Reporter: twsmith | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version:
Keywords: | Platform: Linux
      Cpu: x86-32 |
---------------------+------------------------------------------------------
The commands r.mapcalc and r3.mapcalc are missing the --interface
description option in Grass 6.4.3. Trying produces this:

syntax error, unexpected '-', expecting NAME or STRING
Parse error

g.parser --interface-description is also broken, with a different error:
Unable to open script file: No such file or directory

In Grass 7.0.svn, r.mapcalc and r3.mapcalc work properly, but g.parser
produces the same error. I haven't tried 6.4.4, so I don't know about
that.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2093&gt;
GRASS GIS <http://grass.osgeo.org>

#2093: --interface-description option broken for some commands
----------------------+-----------------------------------------------------
  Reporter: twsmith | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: Default | Version:
Resolution: wontfix | Keywords:
  Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => wontfix
  * milestone: => 6.4.4

Comment:

Modules `r.mapcalc` and `r3.mapcalc` are the exceptions in GRASS 6. They
don't use the parser. Options are automatically treated as an expression.
In GRASS 7 they use the parser as other commands.

Similarly to `g.parser`, it's the only exception in GRASS 7 which do not
use parser from obvious reasons.

Closing as wontfix.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2093#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2093: --interface-description option broken for some commands
----------------------+-----------------------------------------------------
  Reporter: twsmith | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: Default | Version:
Resolution: wontfix | Keywords:
  Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------

Comment(by neteler):

Sidenote: twsmith, if you need that for anything specific, please contact
the
grass-dev list to find a solution.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2093#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>