From a7d79ea09d930d3ecce52ca1f4a90ff80cff7cbe Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Mon, 17 Oct 2011 16:32:43 +0200
Subject: [PATCH] ENH: update flag UserValue for parameters present in a
 command line

---
 Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx
index ba01d3435d..dcbafbc7b5 100644
--- a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx
+++ b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx
@@ -442,6 +442,8 @@ CommandLineLauncher::LoadParameters()
           }
         }
       }
+    // Update the flag UserValue
+    param->SetUserValue(true);
     }
   
   return OKPARAM;
-- 
GitLab