Changes in directory llvm/lib/Support:
CommandLine.cpp updated: 1.70 -> 1.71 --- Log message: If the Program name was NULL then all further output sent to std::cerr was suppressed. --- Diffs of the changes: (+3 -1) CommandLine.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Support/CommandLine.cpp diff -u llvm/lib/Support/CommandLine.cpp:1.70 llvm/lib/Support/CommandLine.cpp:1.71 --- llvm/lib/Support/CommandLine.cpp:1.70 Tue Jul 18 18:59:33 2006 +++ llvm/lib/Support/CommandLine.cpp Wed Aug 2 15:15:56 2006 @@ -616,7 +616,9 @@ 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; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits