From e1c73efe9fbfc5b8f2e22cdf8bc912b1d7f99363 Mon Sep 17 00:00:00 2001 From: Victor Poughon <victor.poughon@cnes.fr> Date: Wed, 17 May 2017 14:59:57 +0200 Subject: [PATCH] RFC-91: Typos in error messages --- .../Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx | 2 +- .../CommandLine/src/otbWrapperCommandLineLauncher.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx index a8a6d3ff59..53c03c06a3 100644 --- a/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx @@ -438,7 +438,7 @@ int Application::ExecuteAndWriteOutput() std::string checkReturn = outputParam->CheckFileName(true); if (!checkReturn.empty()) { - otbAppLogWARNING("Check filename : "<<checkReturn); + otbAppLogWARNING("Check filename: "<<checkReturn); } if (useRAM) { diff --git a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx index fa1ec13636..6b4b7f24aa 100644 --- a/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx +++ b/Modules/Wrappers/CommandLine/src/otbWrapperCommandLineLauncher.cxx @@ -104,13 +104,13 @@ bool CommandLineLauncher::Load() if (this->CheckParametersPrefix() == false) { - std::cerr << "ERROR: Parameter keys have to set using \"-\", not \"--\"." << std::endl; + std::cerr << "ERROR: Parameters are set using \"-\", not \"--\"." << std::endl; return false; } if (this->CheckUnicity() == false) { - std::cerr << "ERROR: At least one key is not unique in the expression." << std::endl; + std::cerr << "ERROR: At least one parameter is not unique in the expression." << std::endl; return false; } -- GitLab