From aed7fee7172c717b2d328959e5867c1ac8c7613d Mon Sep 17 00:00:00 2001
From: Jonathan Guinet <jonathan.guinet@c-s.fr>
Date: Tue, 25 Oct 2011 15:27:02 +0200
Subject: [PATCH] DOC: Split application doc update.

---
 Applications/Util/otbSplitImage.cxx | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/Applications/Util/otbSplitImage.cxx b/Applications/Util/otbSplitImage.cxx
index 99c0021459..88f7b7d0b7 100644
--- a/Applications/Util/otbSplitImage.cxx
+++ b/Applications/Util/otbSplitImage.cxx
@@ -52,15 +52,25 @@ private:
   {
     SetName("SplitImage");
     SetDescription("Split a N multiband image into N images");
+
+    SetDocName("Split Image Application");
+    SetDocLongDescription("This application splits a N multiband image into N images.");
+    SetDocLimitations("None");
+    SetDocAuthors("OTB-Team");
+    SetDocSeeAlso(" ");
+    SetDocCLExample("otbApplicationLauncherCommandLine SplitImage ${OTB-BIN}/bin"
+      " --in ${OTB-DATA}/Input/poupees_sub.png --out splittedImage.tif");
+    AddDocTag("Image Manipulation");
   }
 
   void DoCreateParameters()
   {
     AddParameter(ParameterType_InputImage, "in", "Input Image");
-    
+    SetParameterDescription("in","Input image filename.");
+
     AddParameter(ParameterType_Filename, "out", "Output Image");
     SetParameterDescription("out",
-                            "will be used to get the prefix and the extension of the output images to write");
+                            "Will be used to get the prefix and the extension of the output images to write");
     SetParameterRole("out",Role_Output);
   }
 
-- 
GitLab