Print a newline after the Args: line so that unrelated errs() output doesn't
authorDan Gohman <gohman@apple.com>
Thu, 3 Dec 2009 19:03:18 +0000 (19:03 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 3 Dec 2009 19:03:18 +0000 (19:03 +0000)
end up on the same line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90473 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/CommandLine.cpp

index 9cf9c894d410af55cf785a00feb0e6142dd059ab..b6c0e08c8ca2f6c3c3ac243435a2462fd3f0f124 100644 (file)
@@ -778,9 +778,10 @@ void cl::ParseCommandLineOptions(int argc, char **argv,
       free(*i);
   }
 
-  DEBUG(errs() << "\nArgs: ";
+  DEBUG(errs() << "Args: ";
         for (int i = 0; i < argc; ++i)
           errs() << argv[i] << ' ';
+        errs() << '\n';
        );
 
   // If we had an error processing our arguments, don't let the program execute