[GRASS-SVN] r62971 - grass/branches/releasebranch_7_0/imagery/i.landsat.acca
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 01:33:41 PST 2014
Author: martinl
Date: 2014-11-26 01:33:41 -0800 (Wed, 26 Nov 2014)
New Revision: 62971
Modified:
grass/branches/releasebranch_7_0/imagery/i.landsat.acca/main.c
Log:
i.landsat.acca: use standardized options (#2409) - (merge r62968 from trunk)
Modified: grass/branches/releasebranch_7_0/imagery/i.landsat.acca/main.c
===================================================================
--- grass/branches/releasebranch_7_0/imagery/i.landsat.acca/main.c 2014-11-26 09:32:01 UTC (rev 62970)
+++ grass/branches/releasebranch_7_0/imagery/i.landsat.acca/main.c 2014-11-26 09:33:41 UTC (rev 62971)
@@ -106,12 +106,9 @@
G_add_keyword(_("Landsat"));
G_add_keyword("ACCA");
- band_prefix = G_define_option();
- band_prefix->key = "input_prefix";
+ band_prefix = G_define_standard_option(G_OPT_R_BASENAME_INPUT);
band_prefix->label = _("Base name of input raster bands");
band_prefix->description = _("Example: 'B.' for B.1, B.2, ...");
- band_prefix->type = TYPE_STRING;
- band_prefix->required = YES;
output = G_define_standard_option(G_OPT_R_OUTPUT);
More information about the grass-commit
mailing list