at 18.09-beta 39 lines 1.3 kB view raw
1From c7a9aa3a697c81432786a5583bf973771c7be15e Mon Sep 17 00:00:00 2001 2From: Don Hinton <hintonda@gmail.com> 3Date: Wed, 12 Jul 2017 01:15:46 +0000 4Subject: [PATCH] Fix minor typo introduced in r276404 5 6Summary: 7A space was added between '-' and 'help' when emitting help output. 8 9See https://reviews.llvm.org/D22621 for details. 10 11Reviewers: MaggieYi, vsk 12 13Reviewed By: vsk 14 15Subscribers: llvm-commits 16 17Differential Revision: https://reviews.llvm.org/D35283 18 19git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307745 91177308-0d34-0410-b5e6-96231b3b80d8 20--- 21 lib/Support/CommandLine.cpp | 2 +- 22 1 file changed, 1 insertion(+), 1 deletion(-) 23 24diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp 25index 3889902eea5..79defa5c36c 100644 26--- a/lib/Support/CommandLine.cpp 27+++ b/lib/Support/CommandLine.cpp 28@@ -1236,7 +1236,7 @@ bool CommandLineParser::ParseCommandLineOptions(int argc, 29 << ": Not enough positional command line arguments specified!\n" 30 << "Must specify at least " << NumPositionalRequired 31 << " positional argument" << (NumPositionalRequired > 1 ? "s" : "") 32- << ": See: " << argv[0] << " - help\n"; 33+ << ": See: " << argv[0] << " -help\n"; 34 } 35 36 ErrorParsing = true; 37-- 382.14.0 39