From 5bf7229c1f37cac230e9345f4d956abfef54f428 Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Thu, 4 Jul 2019 18:49:08 +0000 Subject: [PATCH] [clangd] Mark a couple of unimportant flags as hidden. NFC llvm-svn: 365151 --- clang-tools-extra/clangd/tool/ClangdMain.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp index 9ff8de9..d509f53 100644 --- a/clang-tools-extra/clangd/tool/ClangdMain.cpp +++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -76,7 +76,7 @@ static llvm::cl::opt InputStyle( clEnumValN(JSONStreamStyle::Standard, "standard", "usual LSP protocol"), clEnumValN(JSONStreamStyle::Delimited, "delimited", "messages delimited by --- lines, with # comment support")), - llvm::cl::init(JSONStreamStyle::Standard)); + llvm::cl::init(JSONStreamStyle::Standard), llvm::cl::Hidden); static llvm::cl::opt PrettyPrint("pretty", llvm::cl::desc("Pretty-print JSON output"), @@ -215,7 +215,8 @@ static llvm::cl::opt EnableFunctionArgSnippets( llvm::cl::desc("When disabled, completions contain only parentheses for " "function calls. When enabled, completions also contain " "placeholders for method parameters"), - llvm::cl::init(CodeCompleteOptions().EnableFunctionArgSnippets)); + llvm::cl::init(CodeCompleteOptions().EnableFunctionArgSnippets), + llvm::cl::Hidden); static llvm::cl::opt ClangTidyChecks( "clang-tidy-checks", -- 2.7.4