[llvm] r307745 - Fix minor typo introduced in r276404
Don Hinton via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 18:15:46 PDT 2017
Author: dhinton
Date: Tue Jul 11 18:15:46 2017
New Revision: 307745
URL: http://llvm.org/viewvc/llvm-project?rev=307745&view=rev
Log:
Fix minor typo introduced in r276404
Summary:
A space was added between '-' and 'help' when emitting help output.
See https://reviews.llvm.org/D22621 for details.
Reviewers: MaggieYi, vsk
Reviewed By: vsk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D35283
Modified:
llvm/trunk/lib/Support/CommandLine.cpp
Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=307745&r1=307744&r2=307745&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Tue Jul 11 18:15:46 2017
@@ -1236,7 +1236,7 @@ bool CommandLineParser::ParseCommandLine
<< ": Not enough positional command line arguments specified!\n"
<< "Must specify at least " << NumPositionalRequired
<< " positional argument" << (NumPositionalRequired > 1 ? "s" : "")
- << ": See: " << argv[0] << " - help\n";
+ << ": See: " << argv[0] << " -help\n";
ErrorParsing = true;
} else if (!HasUnlimitedPositionals &&
More information about the llvm-commits
mailing list