From 6fa54c1c66f727a49cb0eecb71073a7ca8f0c11b Mon Sep 17 00:00:00 2001
From: Mickael Savinaud <mickael.savinaud@c-s.fr>
Date: Mon, 29 Jun 2015 15:16:33 +0200
Subject: [PATCH] BUG: change the type of a input parameter from input to
 output

---
 .../app/otbComputeOGRLayersFeaturesStatistics.cxx               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx b/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx
index f3e716b926..096a70cc4c 100644
--- a/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx
+++ b/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx
@@ -57,7 +57,7 @@ private:
     AddParameter(ParameterType_InputVectorData, "inshp", "Name of the input shapefile");
     SetParameterDescription("inshp","Name of the input shapefile");
 
-    AddParameter(ParameterType_InputFilename, "outstats", "XML file containing mean and variance of each feature.");
+    AddParameter(ParameterType_OutputFilename, "outstats", "XML file containing mean and variance of each feature.");
     SetParameterDescription("outstats", "XML file containing mean and variance of each feature.");
 
     AddParameter(ParameterType_ListView,  "feat", "List of features to consider for statistics.");
-- 
GitLab