[Lldb-commits] [lldb] 6040d52 - [NFC] Fix whitespace in lldb-vscode --help

Jordan Rupprecht via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 10 11:00:31 PDT 2020


Author: Jordan Rupprecht
Date: 2020-09-10T10:57:23-07:00
New Revision: 6040d525507ba8a2593f0906259d012725b6aed2

URL: https://github.com/llvm/llvm-project/commit/6040d525507ba8a2593f0906259d012725b6aed2
DIFF: https://github.com/llvm/llvm-project/commit/6040d525507ba8a2593f0906259d012725b6aed2.diff

LOG: [NFC] Fix whitespace in lldb-vscode --help

Added: 
    

Modified: 
    lldb/tools/lldb-vscode/lldb-vscode.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-vscode/lldb-vscode.cpp b/lldb/tools/lldb-vscode/lldb-vscode.cpp
index 54f2e653d069..7d7d0f9ebe91 100644
--- a/lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ b/lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -2869,7 +2869,7 @@ const std::map<std::string, RequestCallback> &GetRequestHandlers() {
 } // anonymous namespace
 
 static void printHelp(LLDBVSCodeOptTable &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 VSCode", false);
 
   std::string examples = R"___(


        


More information about the lldb-commits mailing list