Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2093 closed defect (wontfix)

--interface-description option broken for some commands

Reported by: twsmith Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: Default Version:
Keywords: Cc:
CPU: x86-32 Platform: Linux

Description

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.

Change History (2)

comment:1 Changed 6 years ago by martinl

Milestone: 6.4.4
Resolution: wontfix
Status: newclosed

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.

comment:2 Changed 6 years ago by neteler

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

Note: See TracTickets for help on using tickets.