|
@@ -106,12 +106,9 @@ int main(int argc, char *argv[])
|
|
|
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);
|
|
|
|