[GRASS-dev] r.out.gdal rewritten
Moritz Lennert
mlennert at club.worldonline.be
Tue Oct 24 05:29:43 EDT 2006
On Tue, October 24, 2006 09:39, Martin Landa wrote:
> Hi Vytautas,
>
> it is great, thanks a lot for this!! There is small patch (not
> important changes).
This patch introduces a small error:
@@ -138,12 +146,8 @@
flag_l->key = 'l';
flag_l->description = _("list supported output formats");
- input = G_define_option();
- input->key = "input";
- input->type = TYPE_STRING;
- input->gisprompt = "old,cell,raster";
- input->description = _("Name of input raster map");
- input->required = NO;
+ input = G_define_standard_option(G_OPT_R_INPUT);
+ format->required = NO;
The last line should obviously be
input->required = NO;
;-)
Moritz
More information about the grass-dev
mailing list