[llvm] r265753 - Fix formatting and wording of llvm-ranlib error message. NFC.

Sunil Srivastava via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 17:02:15 PDT 2016


Author: ssrivastava
Date: Thu Apr  7 19:02:14 2016
New Revision: 265753

URL: http://llvm.org/viewvc/llvm-project?rev=265753&view=rev
Log:
Fix formatting and wording of llvm-ranlib error message. NFC.

Patch by Douglas Yung!

Reviewed by Rafael Espindola

Modified:
    llvm/trunk/tools/llvm-ar/llvm-ar.cpp

Modified: llvm/trunk/tools/llvm-ar/llvm-ar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/llvm-ar.cpp?rev=265753&r1=265752&r2=265753&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/llvm-ar.cpp (original)
+++ llvm/trunk/tools/llvm-ar/llvm-ar.cpp Thu Apr  7 19:02:14 2016
@@ -760,7 +760,7 @@ static int ar_main() {
 
 static int ranlib_main() {
   if (RestOfArgs.size() != 1)
-    fail(ToolName + "takes just one archive as argument");
+    fail(ToolName + " takes just one archive as an argument");
   ArchiveName = RestOfArgs[0];
   return performOperation(CreateSymTab, nullptr);
 }




More information about the llvm-commits mailing list