mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 02:22:29 +00:00
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
This commit is contained in:
@@ -911,8 +911,8 @@ size_t alias::getOptionWidth() const {
|
|||||||
// Print out the option for the alias.
|
// Print out the option for the alias.
|
||||||
void alias::printOptionInfo(size_t GlobalWidth) const {
|
void alias::printOptionInfo(size_t GlobalWidth) const {
|
||||||
size_t L = std::strlen(ArgStr);
|
size_t L = std::strlen(ArgStr);
|
||||||
errs() << " -" << ArgStr;
|
outs() << " -" << ArgStr;
|
||||||
errs().indent(GlobalWidth-L-6) << " - " << HelpStr << "\n";
|
outs().indent(GlobalWidth-L-6) << " - " << HelpStr << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|||||||
Reference in New Issue
Block a user