From 018402d30c30a04d10e0b1afbc2e5f4e1b84190d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 3 Dec 2009 19:03:18 +0000 Subject: [PATCH] Print a newline after the Args: line so that unrelated errs() output doesn't 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 9cf9c894d41..b6c0e08c8ca 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -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 -- 2.34.1