[clang-tools-extra] 18cee95 - [pseudo] Tweak the cli option messages, NFC.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 23:55:41 PDT 2022


Author: Haojian Wu
Date: 2022-07-22T08:53:24+02:00
New Revision: 18cee95919c8a9bf1a2d1c23fbbc7dc63077ee86

URL: https://github.com/llvm/llvm-project/commit/18cee95919c8a9bf1a2d1c23fbbc7dc63077ee86
DIFF: https://github.com/llvm/llvm-project/commit/18cee95919c8a9bf1a2d1c23fbbc7dc63077ee86.diff

LOG: [pseudo] Tweak the cli option messages, NFC.

Added: 
    

Modified: 
    clang-tools-extra/pseudo/tool/ClangPseudo.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/pseudo/tool/ClangPseudo.cpp b/clang-tools-extra/pseudo/tool/ClangPseudo.cpp
index f4f511ff14c6d..2a2d8eda4c201 100644
--- a/clang-tools-extra/pseudo/tool/ClangPseudo.cpp
+++ b/clang-tools-extra/pseudo/tool/ClangPseudo.cpp
@@ -29,7 +29,7 @@ using llvm::cl::desc;
 using llvm::cl::init;
 using llvm::cl::opt;
 
-static opt<bool> PrintGrammar("print-grammar", desc("Print the grammar."));
+static opt<bool> PrintGrammar("print-grammar", desc("Print the grammar"));
 static opt<bool> PrintGraph("print-graph",
                             desc("Print the LR graph for the grammar"));
 static opt<bool> PrintTable("print-table",
@@ -50,7 +50,7 @@ static opt<bool> ForestAbbrev("forest-abbrev", desc("Abbreviate parse forest"),
 static opt<std::string> HTMLForest("html-forest",
                                    desc("output file for HTML forest"));
 static opt<std::string> StartSymbol("start-symbol",
-                                    desc("specify the start symbol to parse"),
+                                    desc("Specify the start symbol to parse"),
                                     init("translation-unit"));
 
 static std::string readOrDie(llvm::StringRef Path) {


        


More information about the cfe-commits mailing list