[PATCH] D35283: Fix minor typo introduced in r276404

don hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 17:35:55 PDT 2017


hintonda created this revision.

A space was added between '-' and 'help' when emitting help output.

See https://reviews.llvm.org/D22621 for details.


https://reviews.llvm.org/D35283

Files:
  lib/Support/CommandLine.cpp


Index: lib/Support/CommandLine.cpp
===================================================================
--- lib/Support/CommandLine.cpp
+++ lib/Support/CommandLine.cpp
@@ -1236,7 +1236,7 @@
              << ": 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 &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35283.106123.patch
Type: text/x-patch
Size: 594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/387d09b2/attachment.bin>


More information about the llvm-commits mailing list