From 8fb34d4ddaf84b24aa8c8e2d9e9c05ca34018145 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Thu, 28 Jul 2011 15:35:24 +0200
Subject: [PATCH] BUG: Small error in option management

---
 DisparityMap/otbStereoSensorModelToElevationMap.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DisparityMap/otbStereoSensorModelToElevationMap.cxx b/DisparityMap/otbStereoSensorModelToElevationMap.cxx
index c66efc84f7..672b9818e7 100644
--- a/DisparityMap/otbStereoSensorModelToElevationMap.cxx
+++ b/DisparityMap/otbStereoSensorModelToElevationMap.cxx
@@ -90,7 +90,7 @@ int StereoSensorModelToElevationMap::Describe(ApplicationDescriptor* descriptor)
   descriptor->AddOption("SecondaryGaussianSmoothing","(optional) Perform a gaussian smoothing of the secondary image. Parameter is gaussian sigma (in pixels). Default is no smoothing.",
                         "sgs", 1, false, ApplicationDescriptor::Real);
 
-  descriptor->AddOption("SubstractInitialHeight","If activated, the elevation map will contain only the estimated height offset from the initial height (either average elevation or DEM)","s",0,false,ApplicationDescriptor::Boolean);
+  descriptor->AddOption("SubtractInitialHeight","If activated, the elevation map will contain only the estimated height offset from the initial height (either average elevation or DEM)","s",0,false,ApplicationDescriptor::Boolean);
 
   descriptor->AddOption("AvailableMemory","Set the maximum of available memory for the pipeline execution in mega bytes (optional, 256 by default)","ram", 1, false, otb::ApplicationDescriptor::Integer);
 
-- 
GitLab