]> granicus.if.org Git - llvm/commitdiff
Fix minor typo introduced in r276404
authorDon Hinton <hintonda@gmail.com>
Wed, 12 Jul 2017 01:15:46 +0000 (01:15 +0000)
committerDon Hinton <hintonda@gmail.com>
Wed, 12 Jul 2017 01:15:46 +0000 (01:15 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307745 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/CommandLine.cpp

index 0345a5e3d2a1d1cc50ae088b3626378dd21020d9..50173f5256bffeebf61832bccae3108aa2da3b29 100644 (file)
@@ -1236,7 +1236,7 @@ bool CommandLineParser::ParseCommandLineOptions(int argc,
              << ": 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 &&