[Lldb-commits] [lldb] b033745 - [Driver] Fix missing space in lldb --help output.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 20 13:49:31 PST 2019
Author: Jonas Devlieghere
Date: 2019-11-20T13:49:22-08:00
New Revision: b03374584d6878e1fe06868a1cc03c28cc547e88
URL: https://github.com/llvm/llvm-project/commit/b03374584d6878e1fe06868a1cc03c28cc547e88
DIFF: https://github.com/llvm/llvm-project/commit/b03374584d6878e1fe06868a1cc03c28cc547e88.diff
LOG: [Driver] Fix missing space in lldb --help output.
Added:
Modified:
lldb/tools/driver/Driver.cpp
Removed:
################################################################################
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index 9d685f2e35ba..806922bc860f 100644
--- a/lldb/tools/driver/Driver.cpp
+++ b/lldb/tools/driver/Driver.cpp
@@ -747,7 +747,7 @@ void reproducer_handler(void *) {
}
static void printHelp(LLDBOptTable &table, llvm::StringRef tool_name) {
- std::string usage_str = tool_name.str() + "options";
+ std::string usage_str = tool_name.str() + " [options]";
table.PrintHelp(llvm::outs(), usage_str.c_str(), "LLDB", false);
std::string examples = R"___(
More information about the lldb-commits
mailing list