RE: [GRASS-dev] v.digit startup error from -n position

Markus,

I think that I found the same problem in this thread:

http://grass.itc.it/pipermail/grass5/2006-July/024559.html

As Michael said, Glynn had an explanation for this problem, but I can't seem
to track his post down.

~ Eric.

-----Original Message-----
From: grass-dev-bounces@grass.itc.it
To: GRASS developers list
Sent: 8/2/2006 11:15 AM
Subject: [GRASS-dev] v.digit startup error from -n position

Hi,

I found a problem starting v.digit from the tcltk GUI:

v.digit map=cities 'bgcmd=d.rast landcover.30m' -n
New empty map created.

Application initialization failed: "-n" option requires an additional
argument
Error in startup script: couldn't read file "map=cities": no such file
or directory

while
v.digit -n map=cities 'bgcmd=d.rast landcover.30m'

works (see -n position). Strange for me, since G_parser is used...

Any ideas? Is it related to bgcmd_opt parsing?

I think that the gtcltk code should in general put flags
first (which would resolve the problem here).

Markus

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev