1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Aliased flag options should be directed to stdout, not stderr to be consistent. Patch by Julien Lerouge.

llvm-svn: 132931
This commit is contained in:
Evan Cheng 2011-06-13 20:45:54 +00:00
parent a3941782e9
commit 4fd206b70b

View File

@ -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";
}
//===----------------------------------------------------------------------===//