#1858 closed defect (invalid)
inconsistancy g.parser on command console and command line
Reported by: | pvanbosgeo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Shell Scripts | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Linux |
Description
If you have a script r.test with amongst others the following in the header:
#%flag #% key: s #% description: run r.report on output map? #% answer : 1 #%END
Opening the GUI interface via the command line will show the flag S unset. Opening the GUI interface via the command console in the GRASS GIS layer manager shows the flag S as set (see attached screenshot for clarification)
Running GRASS 7.0 on Ubuntu 12.10
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | screenshot.png added |
---|
follow-up: 3 comment:1 by , 12 years ago
I would say that your wish goes against logic of flags. Parser doesn't care about default answer for flags. In your case invert your flag.
#% description: do not run r.report on output map
I would suggest to close this ticket as 'invalid'
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
OK, point taken, closing thicket
comment:3 by , 12 years ago
Note:
See TracTickets
for help on using tickets.
Showing difference in how g.parser handles Flags set to 1 when run from command line vs command console in GRASS Layer Manager.