aboutsummaryrefslogtreecommitdiff
path: root/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
commit018402d30c30a04d10e0b1afbc2e5f4e1b84190d (patch)
tree5b862a98a9fa09ed0e125caf7956625cf53babf7 /lib/Support/CommandLine.cpp
parent88a91b579bb300f700a4acc5917f9e3a048dd05c (diff)
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
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 9cf9c894d4..b6c0e08c8c 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