Kaynağa Gözat

ENH: Reduce whitespace in policy warning/error messages.

Brad King 18 yıl önce
ebeveyn
işleme
a313a098d0
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Source/cmPolicies.cxx

+ 2 - 2
Source/cmPolicies.cxx

@@ -380,7 +380,7 @@ std::string cmPolicies::GetPolicyWarning(cmPolicies::PolicyID id)
   cmOStringStream msg;
   msg <<
     "Policy " << pos->second->IDString << " is not set: "
-    "" << pos->second->ShortDescription << "\n"
+    "" << pos->second->ShortDescription << "  "
     "Run \"cmake --help-policy " << pos->second->IDString << "\" for "
     "policy details.  "
     "Use the cmake_policy command to set the policy "
@@ -404,7 +404,7 @@ std::string cmPolicies::GetRequiredPolicyError(cmPolicies::PolicyID id)
   cmOStringStream error;
   error <<
     "Policy " << pos->second->IDString << " is not set to NEW: "
-    "" << pos->second->ShortDescription << "\n"
+    "" << pos->second->ShortDescription << "  "
     "Run \"cmake --help-policy " << pos->second->IDString << "\" for "
     "policy details.  "
     "CMake now requires this policy to be set to NEW by the project.  "