Hi, 2012/6/28 Michael Barton <michael.bar...@asu.edu>: > #%option G_OPT_R_INPUT > #% key: ms3 > #% description: Input raster map for red channel > #%end > > So there is no way to add "new" unless I redo the options section.
but this is standard option for input not output! "new" refers to `gisprompt`. Eg. #% gisprompt: new,cell,raster but is added automatically e.g. for G_OPT_R_OUTPUT. > I added "#% overwrite: yes" by itself, > > as... > > #%option > #% overwrite: yes > #%end wrong, see my previous answer (just read it carefully) #%module ... #% overwrite: yes #%end Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev