diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-03 19:03:18 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-03 19:03:18 +0000 |
commit | 083f229ba211d5b2ddb4a446634302d7850f2d61 (patch) | |
tree | ba561c41667f5ef89b4047b0129370b3aff1fc31 /llvm/lib/Support/CommandLine.cpp | |
parent | 6dfc1978ace21b4d528fd80040ef350bf4d45d5d (diff) | |
download | bcm5719-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.cpp | 3 |
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 |