mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
If the Program name was NULL then all further output sent to std::cerr was
suppressed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d7210f9dba
commit
abe0e3e641
@ -616,7 +616,9 @@ bool Option::error(std::string Message, const char *ArgName) {
|
||||
if (ArgName[0] == 0)
|
||||
std::cerr << HelpStr; // Be nice for positional arguments
|
||||
else
|
||||
std::cerr << ProgramName << ": for the -" << ArgName;
|
||||
std::cerr << (ProgramName ? ProgramName : "***")
|
||||
<< ": for the -" << ArgName;
|
||||
|
||||
std::cerr << " option: " << Message << "\n";
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user