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 | ff276b40f0bfd72938f964061c13ed18be7c008f (patch) | |
tree | 316717c491458b1333b7eed20bd0701ed41b18ef /lib/Support/CommandLine.cpp | |
parent | 1922a11907346024439ee653d076cf5823633943 (diff) |
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.cpp | 4 |
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"; } //===----------------------------------------------------------------------===// |