summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-12-03 19:03:18 +0000
committerDan Gohman <gohman@apple.com>2009-12-03 19:03:18 +0000
commit083f229ba211d5b2ddb4a446634302d7850f2d61 (patch)
treeba561c41667f5ef89b4047b0129370b3aff1fc31 /llvm/lib/Support/CommandLine.cpp
parent6dfc1978ace21b4d528fd80040ef350bf4d45d5d (diff)
downloadbcm5719-llvm-083f229ba211d5b2ddb4a446634302d7850f2d61.tar.gz
bcm5719-llvm-083f229ba211d5b2ddb4a446634302d7850f2d61.zip
Print a newline after the Args: line so that unrelated errs() output doesn't
end up on the same line. llvm-svn: 90473
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 9cf9c894d41..b6c0e08c8ca 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud