[Driver] Fix missing space in lldb --help output.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 20 Nov 2019 21:48:58 +0000 (13:48 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 20 Nov 2019 21:49:22 +0000 (13:49 -0800)
lldb/tools/driver/Driver.cpp

index 9d685f2..806922b 100644 (file)
@@ -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"___(