[llvm] 1079d9c - [llvm-driver] Add a newline at the end of the help message (#99425)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 00:06:48 PDT 2024


Author: R
Date: 2024-07-26T12:36:45+05:30
New Revision: 1079d9c9c00822790a4226ecac5ae6fababdcac1

URL: https://github.com/llvm/llvm-project/commit/1079d9c9c00822790a4226ecac5ae6fababdcac1
DIFF: https://github.com/llvm/llvm-project/commit/1079d9c9c00822790a4226ecac5ae6fababdcac1.diff

LOG: [llvm-driver] Add a newline at the end of the help message (#99425)

This was constantly messing with my terminal prompt 😹

Added: 
    

Modified: 
    llvm/tools/llvm-driver/llvm-driver.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-driver/llvm-driver.cpp b/llvm/tools/llvm-driver/llvm-driver.cpp
index 53a8b9357e378..14ce162faee46 100644
--- a/llvm/tools/llvm-driver/llvm-driver.cpp
+++ b/llvm/tools/llvm-driver/llvm-driver.cpp
@@ -33,7 +33,7 @@ static void printHelpMessage() {
                << subcommands
                << "\n  Type \"llvm <subcommand> --help\" to get more help on a "
                   "specific subcommand\n\n"
-               << "OPTIONS:\n\n  --help - Display this message";
+               << "OPTIONS:\n\n  --help - Display this message\n";
 }
 
 static int findTool(int Argc, char **Argv, const char *Argv0) {


        


More information about the llvm-commits mailing list