diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-06-13 20:45:54 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-06-13 20:45:54 +0000 |
commit | 871b71247b01d6e2392b586c320514a0b8662b22 (patch) | |
tree | 7f365cc3c423aa3214d6de2a287833c46a9470a2 /llvm/lib/Support/CommandLine.cpp | |
parent | 6e8dc334db05a281f56753ce0fed054fbee68862 (diff) | |
download | bcm5719-llvm-871b71247b01d6e2392b586c320514a0b8662b22.tar.gz bcm5719-llvm-871b71247b01d6e2392b586c320514a0b8662b22.zip |
Aliased flag options should be directed to stdout, not stderr to be consistent. Patch by Julien Lerouge.
llvm-svn: 132931
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 7f1c0d320b1..29143377628 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -911,8 +911,8 @@ size_t alias::getOptionWidth() const { // Print out the option for the alias. void alias::printOptionInfo(size_t GlobalWidth) const { size_t L = std::strlen(ArgStr); - errs() << " -" << ArgStr; - errs().indent(GlobalWidth-L-6) << " - " << HelpStr << "\n"; + outs() << " -" << ArgStr; + outs().indent(GlobalWidth-L-6) << " - " << HelpStr << "\n"; } //===----------------------------------------------------------------------===// |