浏览代码

i.pca/r.texture: add --overwrite flag for output prefix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58311 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 11 年之前
父节点
当前提交
b381fc05ef
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      imagery/i.pca/main.c
  2. 1 0
      raster/r.texture/main.c

+ 1 - 0
imagery/i.pca/main.c

@@ -74,6 +74,7 @@ int main(int argc, char *argv[])
     G_add_keyword(_("PCA"));
     module->description = _("Principal components analysis (PCA) "
 			    "for image processing.");
+    module->overwrite = 1;
 
     /* Define options */
     opt_in = G_define_standard_option(G_OPT_R_INPUTS);

+ 1 - 0
raster/r.texture/main.c

@@ -104,6 +104,7 @@ int main(int argc, char *argv[])
     G_add_keyword(_("texture"));
     module->description =
 	_("Generate images with textural features from a raster map.");
+    module->overwrite = 1;
 
     /* Define the different options */