From 7ab3261f0fc186a5ebfad1146b92479b4c1e7026 Mon Sep 17 00:00:00 2001 From: Cyrille Valladeau <cyrille.valladeau@c-s.fr> Date: Mon, 5 Dec 2011 14:03:28 +0100 Subject: [PATCH] ENH: add doc internet link in cdl help --- .../Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx index 788f32db3a..8e8bf46fff 100644 --- a/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx +++ b/Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.cxx @@ -565,6 +565,13 @@ void CommandLineLauncher::DisplayHelp() std::cerr << "EXAMPLE OF USE: " << std::endl; std::cerr << m_Application->GetCLExample() << std::endl; } + + std::string link = "http://www.orfeo-toolbox.org/Applications/"; + link.append(m_Application->GetName()); + link.append(".html"); + + std::cerr << "DOCUMENTATION: " << link << std::endl; + std::cerr << "======================= PARAMETERS =======================" << std::endl; const std::vector<std::string> appKeyList = m_Application->GetParametersKeys(true); -- GitLab