summaryrefslogtreecommitdiff
path: root/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-06-13 20:45:54 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-06-13 20:45:54 +0000
commitff276b40f0bfd72938f964061c13ed18be7c008f (patch)
tree316717c491458b1333b7eed20bd0701ed41b18ef /lib/Support/CommandLine.cpp
parent1922a11907346024439ee653d076cf5823633943 (diff)
downloadllvm-ff276b40f0bfd72938f964061c13ed18be7c008f.tar.gz
llvm-ff276b40f0bfd72938f964061c13ed18be7c008f.tar.bz2
llvm-ff276b40f0bfd72938f964061c13ed18be7c008f.tar.xz
Aliased flag options should be directed to stdout, not stderr to be consistent. Patch by Julien Lerouge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 7f1c0d320b..2914337762 100644
--- a/lib/Support/CommandLine.cpp
+++ b/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";
}
//===----------------------------------------------------------------------===//